IDataAccessAdapterCreatePrimaryKeyFilter Method |
Creates a new predicate expression which filters on the primary key fields and the set values for the
given primary key fields. If no primary key fields are specified, null is returned.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax IPredicateExpression CreatePrimaryKeyFilter(
IList primaryKeyFields
)
Function CreatePrimaryKeyFilter (
primaryKeyFields As IList
) As IPredicateExpression
Parameters
- primaryKeyFields
- Type: System.CollectionsIList
ArrayList with IEntityField2 instances which form the primary key for which the filter has to be constructed
Return Value
Type:
IPredicateExpressionfilled in predicate expression or null if no primary key fields are specified.
Remarks Call this method passing IEntity2.Fields.PrimaryKeyFields
See Also