Danny,
>Am I correct that there is a bug, or am I doing something wrong?
To you lurkers, I responded to the same question Danny sent via private e-mail:
You’re absolutely right—to get around this for now, add the following code to ABusinessObject in your project:
public override EntityType NewEntity(object defaultValues)
{
DataRow Row = this.NewRow(defaultValues);
EntityType EntityObject = this.CreateEntityObject();
EntityObject.SetDataRow(Row);
return EntityObject;
}
I’ll make the fix here which will be in the next MM .NET update and give you credit in the What’s New Guide!
Best 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