PersistenceInfoProviderBaseAddElementFieldMapping Method |
Adds an element field mapping for the element name.elementfieldname field.
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
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
)
Protected Sub AddElementFieldMapping (
elementName As String,
elementFieldName As String,
sourceColumnName As String,
isSourceColumnNullable As Boolean,
sourceColumnDbType As String,
sourceColumnMaxLength As Integer,
sourceColumnPrecision As Byte,
sourceColumnScale As Byte,
isIdentity As Boolean,
identityValueSequenceName As String,
typeConverterToUse As TypeConverter,
actualDotNetType As Type,
fieldIndex As Integer
)
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