PersistenceInfoProviderBaseAddElementMapping Method (String, String, String, String, Int32) |
Adds an element mapping. Defaults to Retrieve for allowed action combinations. Use for typed views.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax protected void AddElementMapping(
string elementName,
string catalogName,
string schemaName,
string targetName,
int numberOfFields
)
Protected Sub AddElementMapping (
elementName As String,
catalogName As String,
schemaName As String,
targetName As String,
numberOfFields 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.
Exceptions Exception | Condition |
---|
ArgumentException | elementName ' + elementName + ' is already added to this provider.;elementName |
See Also