Assembly: Rds;
The IMetaRdsLoader interface contains properties and methods of the object that is used to automatically create MDM dictionaries and load data to them.
IMetaRdsLoader
To ensure object performance, specify a data source in one of the following properties: Source, SqlSource, or TableSource. Depending on the executed operations, the following steps are available:
To update data of an existing MDM dictionary:
Determine an MDM dictionary in the Dictionary property.
Bind dictionary attributes to data source fields in the Bindings property.
Call the Load method to load data.
To create a new MDM dictionary and load data to it:
Bind dictionary attributes to data source fields in the Bindings property. Attributes may be omitted in binding parameters, in this case they will be created later. Depending on the data source, the bindings may be set using the GenerateBindingsBySource method.
Determine information about the created dictionary, specify the parent object. If the dictionary is created in other location than MDM repository, it is also necessary to define the Database property.
Call the CreateObject method and pass information on the created dictionary as the method parameter.
Save dictionary which will return the CreateObject method.
Call the Load method to load data.
NOTE. MDM dictionaries can be automatically created and updated in the repositories based on Oracle 9.x or later, and Microsoft SQL Server 2008 or later.
Property name | Brief description | |
AddCrossVersions | The AddCrossVersions property determines whether new versions of the element, which actual period intersects with actual periods of other versions of this element, are added | |
Bindings | The Bindings property returns a collection of dictionary attributes' bindings to data source fields. | |
Database | The Database property determines a database that will store dictionary table. | |
Dictionary | The Dictionary property determines the MDM dictionary, to which data should be loaded. | |
Source | The Source property determines a data source for an MDM dictionary. | |
SqlSource | The SqlSource property determines an SQL query, executing of which creates a data source for an MDM dictionary. | |
TableSource | The TableSource property determines the repository table to be used as a data source of MDM dictionary. |
Method name | Brief description | |
CreateObject | The CreateObject method creates a new dictionary based on the specified information and attribute bindings. | |
GenerateBindingsBySource | The GenerateBindingsBySource method generates parameters of dictionary attributes' bindings based on the source structure. | |
Load | The Load method loads data from a source to an MDM dictionary. |
See also: