Click or drag to resize

Framework.GetExternalTypeNameForTypeIfAny 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.6.0.0 (5.6.19.0117)
Syntax
public string GetExternalTypeNameForTypeIfAny(
	Type typeToConvert,
	string driverID
)

Parameters

typeToConvert
Type: System.Type
The type to obtain the external type for (if any)
driverID
Type: System.String
The driver ID of the database to obtain the external type for.

Return Value

Type: String
the external type name, if defined, otherwise null.
See Also