Click or drag to resize

PersistenceInfoProviderBaseAddElementFieldMapping Method

Adds an element field mapping 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)
Syntax
protected void AddElementFieldMapping(
	string elementName,
	string elementFieldName,
	string sourceColumnName,
	bool isSourceColumnNullable,
	string sourceColumnDbType,
	int sourceColumnMaxLength,
	byte sourceColumnPrecision,
	byte sourceColumnScale,
	bool isIdentity,
	string identityValueSequenceName,
	TypeConverter typeConverterToUse,
	Type actualDotNetType,
	int fieldIndex
)

Parameters

elementName
Type: SystemString
Name of the element.
elementFieldName
Type: SystemString
Name of the element field.
sourceColumnName
Type: SystemString
Name of the source column.
isSourceColumnNullable
Type: SystemBoolean
if set to true [is source column nullable].
sourceColumnDbType
Type: SystemString
string representation of the ADO.NET specific enum value of the db type of the field.
sourceColumnMaxLength
Type: SystemInt32
Length of the source column max.
sourceColumnPrecision
Type: SystemByte
The source column precision.
sourceColumnScale
Type: SystemByte
The source column scale.
isIdentity
Type: SystemBoolean
if set to true [is identity].
identityValueSequenceName
Type: SystemString
Name of the identity value sequence.
typeConverterToUse
Type: System.ComponentModelTypeConverter
The type converter to use.
actualDotNetType
Type: SystemType
Type of the actual dot net.
fieldIndex
Type: SystemInt32
Index of the field.
See Also