IMetaRdsLoader.Bindings

Syntax

Bindings: IRdsLoaderBindings;

Description

The Bindings property returns a collection of dictionary attributes' bindings to data source fields.

Comments

If the IMetaRdsLoader.Dictionary property is set, the user needs to create bindings for all attributes of the specified dictionary in the Bindings collection. If a new dictionary is created, on executing the IMetaRdsLoader.CreateObject method, attributes are created in the dictionary based on the bindings collection. On executing the IMetaRdsLoader.Load method, the data is loaded according to the defined bindings.

If the data provider is specified in the IMetaRdsLoader.Source or IMetaRdsLoader.TableSource property, attribute bindings can be created automatically on calling the IMetaRdsLoader.GenerateBindingsBySource method.

Example

The example of use is given in the example for IRdsLoaderBindings.Add, IRdsLoaderBindings.AddByAttribute.

See also:

IMetaRdsLoader