IMbElementDependencies.Add

Fore Syntax

Add(Value: IMbElementDependencyTemplate): Integer;

Fore.NET Syntax

Add(Value: Prognoz.Platform.Interop.Metabase.MbElementDependencyTemplateClass): Integer;

Parameters

Value - template based on which a new dependency of repository object from MDM dictionary elements is added.

Description

The Add method creates a new record about dependency on the base of information passed in a template.

Comments

If dependencies collection is got for any object the template passed by the parameterValue may not contain information about an object. Information will be automatically added from the information about a template available in the Where property.

Example

The method use is given in example for the MbElementDependencyTemplateClass.Create constructor.

See also:

IMbElementDependencies