Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete Entity
Message
De
20/06/2008 14:50:32
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Delete Entity
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01325838
Message ID:
01325838
Vues:
65
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform