Click or drag to resize

FieldExtensionMethodsAs Method (IEntityField2, String)

Specifies the field alias on the field, returning the field.

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public static IEntityField2 As(
	this IEntityField2 field,
	string alias
)

Parameters

field
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityField2
The field.
alias
Type: SystemString
The alias.

Return Value

Type: IEntityField2

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEntityField2. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also