Click or drag to resize

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.6.0.0 (5.6.19.0117)
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
)

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