Click or drag to resize

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.6.0.0 (5.6.19.0117)
Syntax
protected void AddElementMapping(
	string elementName,
	string catalogName,
	string schemaName,
	string targetName,
	int numberOfFields
)

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
ExceptionCondition
ArgumentExceptionelementName ' + elementName + ' is already added to this provider.;elementName
See Also