Click or drag to resize

LinqUtilsObtainValidFieldFromEntity Method (Type, IElementCreatorCore)

Obtains a valid field from the entity of which the type is passed in. A valid field is a field which is located in that entity and also defined in that entity so not inherited from a supertype.

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 IEntityFieldCore ObtainValidFieldFromEntity(
	Type entityType,
	IElementCreatorCore generatedCodeElementCreator
)

Parameters

entityType
Type: SystemType
Type of the entity.
generatedCodeElementCreator
Type: SD.LLBLGen.Pro.ORMSupportClassesIElementCreatorCore
The generated code element creator.

Return Value

Type: IEntityFieldCore
valid field of entity.
See Also