LinqUtilsCreatePkfieldPkFieldFilterFromEntity Method |
Creates a filter which compares the PK fields of the entity type passed in, for both aliases passed in, so:
aliasWrappedSet.PkField1 = aliasNestedSet.PkField1
AND
...
aliasWrappedSet.PkFieldn = aliasNestedSet.PkFieldn
Namespace:
SD.LLBLGen.Pro.LinqSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax public static IPredicateExpression CreatePkfieldPkFieldFilterFromEntity(
Type entityTypeOfSourceSet,
SetAlias aliasWrappingSet,
SetAlias aliasNestedSet,
ITemplateGroupSpecificCreator frameworkCreator,
IElementCreatorCore elementCreator,
bool selfServicing
)
Public Shared Function CreatePkfieldPkFieldFilterFromEntity (
entityTypeOfSourceSet As Type,
aliasWrappingSet As SetAlias,
aliasNestedSet As SetAlias,
frameworkCreator As ITemplateGroupSpecificCreator,
elementCreator As IElementCreatorCore,
selfServicing As Boolean
) As IPredicateExpression
Parameters
- entityTypeOfSourceSet
- Type: SystemType
The entity type of source set. - aliasWrappingSet
- Type: SD.LLBLGen.Pro.LinqSupportClassesSetAlias
The alias of the wrapping set. - aliasNestedSet
- Type: SD.LLBLGen.Pro.LinqSupportClassesSetAlias
The alias of the nested set. - frameworkCreator
- Type: SD.LLBLGen.Pro.LinqSupportClassesITemplateGroupSpecificCreator
The framework creator. - elementCreator
- Type: SD.LLBLGen.Pro.ORMSupportClassesIElementCreatorCore
The element creator. - selfServicing
- Type: SystemBoolean
if set to true, the provider is for selfservicing, otherwise for adapter
Return Value
Type:
IPredicateExpressionSee Also