Click or drag to resize
LinqUtilsGetFieldObjectAndSetObjectAlias Method
Gets the field object from the entity passed in and sets its ObjectAlias to the alias passed in.

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 IEntityFieldCore GetFieldObjectAndSetObjectAlias(
	IEntityCore entityInstance,
	string fieldName,
	SetAlias objectAlias
)

Parameters

entityInstance
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
The entity instance.
fieldName
Type: SystemString
Name of the field.
objectAlias
Type: SD.LLBLGen.Pro.LinqSupportClassesSetAlias
The object alias.

Return Value

Type: IEntityFieldCore
the Field object with the name specified, or null if not found
See Also