Terry,
>I want to generate invoice and invoice line item records in a batch, building the data from Orders and Order Line items. The orders are entered in a basic MM.Net winform using Parent child biz objs where the foreign keys are auto populated.
>
>Is there a way to use Biz Objs to "batch" generate related data and have the foreign keys auto populated?
>
>Or, should I just resort to basic ADO.Net and cascading PKs using a dataset and a relation object?
Does the MM .NET business object's ForeignParentKeyField do what you need? There's a description of this property in the Dev Guide.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com