Click or drag to resize
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.3.0.0 (5.3.0)
Syntax
public static IPredicateExpression CreatePkfieldPkFieldFilterFromEntity(
	Type entityTypeOfSourceSet,
	SetAlias aliasWrappingSet,
	SetAlias aliasNestedSet,
	ITemplateGroupSpecificCreator frameworkCreator,
	IElementCreatorCore elementCreator,
	bool selfServicing
)

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: IPredicateExpression
See Also