ModelInfoProviderBase.AddElementFieldInfo 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.11.0.0 (5.11.23.1114)
Syntaxprotected 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: System.String
Name of the element. - elementFieldName
- Type: System.String
Name of the element field. - dataType
- Type: System.Type
Type of the data. - isPrimaryKey
- Type: System.Boolean
if set to true [is primary key]. - isForeignKey
- Type: System.Boolean
if set to true [is foreign key]. - isReadOnly
- Type: System.Boolean
if set to true [is read only]. - isNullable
- Type: System.Boolean
if set to true [is nullable]. - fieldIndex
- Type: System.Int32
Index of the field. - maxLength
- Type: System.Int32
Length of the max. - scale
- Type: System.Byte
The scale. - precision
- Type: System.Byte
The precision.
See Also