Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete Entity
Message
From
20/06/2008 14:50:32
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Delete Entity
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01325838
Message ID:
01325838
Views:
64
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?

Thanks.
- Bob S.
Next
Reply
Map
View

Click here to load this message in the networking platform