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.5.0.0 (5.5.18.1019)
Syntax public EntityField2 Field<TValue>(
string targetAlias,
string fieldName
)
Public Function Field(Of TValue) (
targetAlias As String,
fieldName As String
) As EntityField2
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:
EntityField2Ready to use field object
See Also