References: String;
The References property determines the list of references to the platform assemblies which must be connected to this assembly.
Names of the assemblies in the list are separated by ";" symbol. The list may contain system assemblies of the platform (Dal, Db and so on) and identifiers of the custom assemblies, which exist in the repository.
NOTE. The System repository system assembly is always connected by default. It is not necessary to state it in the list of references.
Executing the example requires an assembly with the Assembly_1 identifier.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Asm: IAssembly;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("Assembly_1").Edit;
Asm := MObj As IAssembly;
Asm.References := "Dt;Etl;Io";
If Asm.Modified Then
MObj.Save;
End If;
End Sub Main;
After executing this example the list of references to the system assemblies of the platform is changed.
See also: