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.6.0.0 (5.6.19.0117)
Syntax public static IEntityFieldCore GetFieldObjectAndSetObjectAlias(
IEntityCore entityInstance,
string fieldName,
SetAlias objectAlias
)
Public Shared Function GetFieldObjectAndSetObjectAlias (
entityInstance As IEntityCore,
fieldName As String,
objectAlias As SetAlias
) As IEntityFieldCore
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