EntityCollectionBaseTEntityDeleteMulti Method |
Deletes all Entities in the IEntityCollection from the persistent storage. If this IEntityCollection is added
to a transaction, the delete processes will be done in that transaction, if the entity isn't already added to another transaction.
If the entity is already in another transaction, it will use that transaction. If no transaction is present, the deletes are done in a/ new Transaction.
Deleted entities are marked deleted and are removed from the collection.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax public virtual int DeleteMulti()
Public Overridable Function DeleteMulti As Integer
Return Value
Type:
Int32Amount of entities deleted
Implements
IEntityCollectionDeleteMultiSee Also