Click or drag to resize

QueryFactoryBase2FieldTValue Method (String, String)

Creates a new field object with the name specified and of resulttype 'TValue'. Used for referring to aliased fields in another projection.

Namespace:  SD.LLBLGen.Pro.QuerySpec.AdapterSpecific
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public EntityField2 Field<TValue>(
	string targetAlias,
	string fieldName
)

Parameters

targetAlias
Type: SystemString
The alias of the table/query to target.
fieldName
Type: SystemString
Name of the field.

Type Parameters

TValue
The type of the value.

Return Value

Type: EntityField2
Ready to use field object
See Also