DaoBaseCreatePrimaryKeyFilter 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.6.0.0 (5.6.19.0117)
Syntax public virtual IPredicateExpression CreatePrimaryKeyFilter(
IEntityFields fields
)
Public Overridable Function CreatePrimaryKeyFilter (
fields As IEntityFields
) As IPredicateExpression
Parameters
- fields
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFields
IEntityField collection with all the fields of the entity for which the filter has to be constructed
Return Value
Type:
IPredicateExpressionfilled in predicate expression or null if no primary key fields are specified.
See Also