PersistenceInfoProviderBaseAddElementMapping Method (String, String, String, String, Int32, Int32) |
Adds an element mapping.
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 AddElementMapping(
string elementName,
string catalogName,
string schemaName,
string targetName,
int numberOfFields,
int actionCombination
)
Protected Sub AddElementMapping (
elementName As String,
catalogName As String,
schemaName As String,
targetName As String,
numberOfFields As Integer,
actionCombination As Integer
)
Parameters
- elementName
- Type: SystemString
Name of the element. - catalogName
- Type: SystemString
Name of the catalog. - schemaName
- Type: SystemString
Name of the schema. - targetName
- Type: SystemString
Name of the target. - numberOfFields
- Type: SystemInt32
The number of fields. - actionCombination
- Type: SystemInt32
The action combination. This is the numeric value of the enum ActionCombinationType
Exceptions Exception | Condition |
---|
ArgumentException | elementName ' + elementName + ' is already added to this provider.;elementName |
See Also