IDataAccessAdapterDeleteEntitiesDirectly Method (String, 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.1.0.0 (5.1.0)
Syntax int DeleteEntitiesDirectly(
string entityName,
IRelationPredicateBucket filterBucket
)
Function DeleteEntitiesDirectly (
entityName As String,
filterBucket As IRelationPredicateBucket
) As Integer
Parameters
- entityName
- Type: SystemString
The name of the entity to retrieve persistence information. For example "CustomerEntity". This name can be
retrieved from an existing entity's Name property. - filterBucket
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationPredicateBucket
filter information to filter out the entities to delete
Return Value
Type:
Int32the amount of physically deleted entities
See Also