FrameworkGetExternalTypeNameForTypeIfAny Method |
Gets the external type name for the type specified, if any, for the active database. It retrieves this from the target framework of the entity model, as everything
derives from that. If no external type is defined for the type specified, it will return null, so the caller knows the type is to be treated as-is.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Frameworks
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax public string GetExternalTypeNameForTypeIfAny(
Type typeToConvert,
string driverID
)
Public Function GetExternalTypeNameForTypeIfAny (
typeToConvert As Type,
driverID As String
) As String
Parameters
- typeToConvert
- Type: SystemType
The type to obtain the external type for (if any) - driverID
- Type: SystemString
The driver ID of the database to obtain the external type for.
Return Value
Type:
Stringthe external type name, if defined, otherwise null.
See Also