Initializes a new instance of the
FieldInfo class.
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public FieldInfo(
string name,
string containingObjectName,
Type dataType,
bool isPrimaryKey,
bool isForeignKey,
bool isReadOnly,
bool isNullable,
int fieldIndex,
int maxLength,
byte scale,
byte precision
)
Public Sub New (
name As String,
containingObjectName 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
- name
- Type: SystemString
The name. - containingObjectName
- Type: SystemString
Name of the containing object. - 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