Assembly: Rds;
Namespace: Prognoz.Platform.Interop.Rds;
The IMetaRdsLoader interface contains properties and methods of the object used to automatically create table MDM dictionaries and load data to these dictionaries.
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 table MDM dictionary:
Determine a table 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 table MDM dictionary and load the data:
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.
Define information on the created table 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. Table 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 | |
The Bindings property returns a collection of dictionary attributes' bindings to data source fields. | ||
The Database property determines a database that will store dictionary table. | ||
The Dictionary property determines the MDM dictionary where the data should be loaded. | ||
The Source property determines a source for a table MDM dictionary. | ||
The SqlSource property determines an SQL query executing which creates a data source for a table MDM dictionary. | ||
The TableSource property determines the repository table to be used as the data source of the table MDM dictionary. |
Method name | Brief description | |
The CreateObject method creates a new table dictionary based on specified information and the attribute bindings. | ||
The GenerateBindingsBySource method generates parameters of dictionary attributes' bindings based on the source structure. | ||
The Load method loads data from a source to table MDM dictionary. |
See also: