QueryFactoryBaseFieldTValue 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.SelfServicingSpecific
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax public EntityField Field<TValue>(
string targetAlias,
string fieldName
)
Public Function Field(Of TValue) (
targetAlias As String,
fieldName As String
) As EntityField
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:
EntityFieldReady to use field object
See Also