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.6.0.0 (5.6.19.0117)
Syntax public static string ConvertFieldMacrosToRealValuesForString(
string toConvert,
string navigatorName,
bool isPrimaryKey,
bool isForeignKey,
bool isOptional,
bool isReadOnly,
int length,
int precision,
int scale
)
Public Shared Function ConvertFieldMacrosToRealValuesForString (
toConvert As String,
navigatorName As String,
isPrimaryKey As Boolean,
isForeignKey As Boolean,
isOptional As Boolean,
isReadOnly As Boolean,
length As Integer,
precision As Integer,
scale As Integer
) As String
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:
StringtoConvert with its macros replaced with the values specified
See Also