NoSave: Boolean;
NoSave: boolean;
The NoSave property determines whether copy of an object is saved after copying.
Default property value is False, in this case a copy is saved at once. If the property value is True, a copy is not saved after copying. The copy opened for edit will be available in the IMetabaseObjectCopyInfo.Destination property. It is used if after copying it is necessary to perform any additional changes in a copy to avoid double saving.
Executing the example requires that repository contains a database with the BD_1 identifier.
Add links to the Db and Metabase system assemblies.
After executing this example database is copied in a repository root. The name of a scheme to that a connection is performed is changed in the received copy of a database before saving.
See also: