ApplicationUtilsConvertFieldMacrosToRealValues Method |
Converts the navigatorName, isPrimaryKey, isForeignKey, isOptional, isReadOnly, length, precision and scale macros in the passed in strings to real values.
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 IEnumerable<string> ConvertFieldMacrosToRealValues(
IEnumerable<string> stringsToConvert,
string navigatorName,
bool isPrimaryKey,
bool isForeignKey,
bool isOptional,
bool isReadOnly,
int length,
int precision,
int scale
)
Public Shared Function ConvertFieldMacrosToRealValues (
stringsToConvert As IEnumerable(Of 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 IEnumerable(Of String)
Parameters
- stringsToConvert
- Type: System.Collections.GenericIEnumerableString
The strings 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:
IEnumerableStringall string values with their length/precision/scale macros replaced with the values specified
See Also