Bob,
>I have a class that inherits "mmBusinessProcess".
>
>I have an entity that contains one record from a CaseHeader table.
>
>I have the parent-child relationships working becuase I can save data to the CaseHeader table and all of the child tables.
>
>I want to delete this record from the table, but I cannot get it to delete. I've tried the following:
>
>Me.oCaseHeader.Delete()
>Me.oCaseHeader.Delete(Me.oCaseHeader.Entity.chd_GUIDPK)
>Me.oCaseHeader.DeleteEntity()
>Me.oCaseHeader.DeleteEntity(Me.oCaseHeader.Entity)
>
>and a couple other variants of the above calls.
>
>How should I be calling one of these methods to delete the row?
Any of the methds you liste should work properly. Are you getting an exception at run time? If so,please post the error message and full stack trace.
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