IDataAccessAdapterDeleteEntitiesDirectly Method (Type, IRelationPredicateBucket) |
Deletes all entities of the name passed in as entityName (e.g. "CustomerEntity") from the persistent storage if they match the filter
supplied in filterBucket.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax int DeleteEntitiesDirectly(
Type typeOfEntity,
IRelationPredicateBucket filterBucket
)
Function DeleteEntitiesDirectly (
typeOfEntity As Type,
filterBucket As IRelationPredicateBucket
) As Integer
Parameters
- typeOfEntity
- Type: SystemType
The type of the entity to retrieve persistence information. - filterBucket
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationPredicateBucket
filter information to filter out the entities to delete
Return Value
Type:
Int32the amount of physically deleted entities
Remarks Not supported for entities which are in a TargetPerEntity hierarchy.
See Also