Click or drag to resize
PersistenceInfoProviderBase.AddElementFieldMapping 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.2.0.0 (5.2.17.0403)
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: System.String
Name of the element.
elementFieldName
Type: System.String
Name of the element field.
sourceColumnName
Type: System.String
Name of the source column.
isSourceColumnNullable
Type: System.Boolean
if set to true [is source column nullable].
sourceColumnDbType
Type: System.String
string representation of the ADO.NET specific enum value of the db type of the field.
sourceColumnMaxLength
Type: System.Int32
Length of the source column max.
sourceColumnPrecision
Type: System.Byte
The source column precision.
sourceColumnScale
Type: System.Byte
The source column scale.
isIdentity
Type: System.Boolean
if set to true [is identity].
identityValueSequenceName
Type: System.String
Name of the identity value sequence.
typeConverterToUse
Type: System.ComponentModel.TypeConverter
The type converter to use.
actualDotNetType
Type: System.Type
Type of the actual dot net.
fieldIndex
Type: System.Int32
Index of the field.
See Also