Click or drag to resize

ApplicationUtilsConvertFieldMacrosToRealValuesForString Method

Converts the length, precision and scale macros to real values in the toConvert string specified

Namespace:  SD.LLBLGen.Pro.ApplicationCore
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public static string ConvertFieldMacrosToRealValuesForString(
	string toConvert,
	string navigatorName,
	bool isPrimaryKey,
	bool isForeignKey,
	bool isOptional,
	bool isReadOnly,
	int length,
	int precision,
	int scale
)

Parameters

toConvert
Type: SystemString
To convert.
navigatorName
Type: SystemString
the navigator name mapped on the relationship if the field is a foreignkey field. Empty string otherwise
isPrimaryKey
Type: SystemBoolean
the flag whether the field is part of the identifying fields
isForeignKey
Type: SystemBoolean
the flag whether the field is a foreign key field
isOptional
Type: SystemBoolean
the flag whether the field is optional
isReadOnly
Type: SystemBoolean
the flag whether the field is readonly
length
Type: SystemInt32
The length.
precision
Type: SystemInt32
The precision.
scale
Type: SystemInt32
The scale.

Return Value

Type: String
toConvert with its macros replaced with the values specified
See Also