ModelInfoProviderBaseAddElementFieldInfo Method |
Adds an element field info object for the element name.elementfieldname field.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax protected void AddElementFieldInfo(
string elementName,
string elementFieldName,
Type dataType,
bool isPrimaryKey,
bool isForeignKey,
bool isReadOnly,
bool isNullable,
int fieldIndex,
int maxLength,
byte scale,
byte precision
)
Protected Sub AddElementFieldInfo (
elementName As String,
elementFieldName As String,
dataType As Type,
isPrimaryKey As Boolean,
isForeignKey As Boolean,
isReadOnly As Boolean,
isNullable As Boolean,
fieldIndex As Integer,
maxLength As Integer,
scale As Byte,
precision As Byte
)
Parameters
- elementName
- Type: SystemString
Name of the element. - elementFieldName
- Type: SystemString
Name of the element field. - dataType
- Type: SystemType
Type of the data. - isPrimaryKey
- Type: SystemBoolean
if set to true [is primary key]. - isForeignKey
- Type: SystemBoolean
if set to true [is foreign key]. - isReadOnly
- Type: SystemBoolean
if set to true [is read only]. - isNullable
- Type: SystemBoolean
if set to true [is nullable]. - fieldIndex
- Type: SystemInt32
Index of the field. - maxLength
- Type: SystemInt32
Length of the max. - scale
- Type: SystemByte
The scale. - precision
- Type: SystemByte
The precision.
See Also