SetIdNoCheck(Id: String);
SetIdNoCheck(Id: string);
Id. Identifier to be set for the object.
The SetIdNoCheck method changes an identifier of the object without checking it against the specified format of identifiers.
It is relevant to use this method if any format of identifiers was set for the repository. If identifier format is not set, to change object identifier it is required to change the IMetabaseObjectDescriptor.Id property.
Executing the example requires that the repository contains an object with the Obj_1 identifier.
Add a link to the Metabase system assembly.
The identifier is added to the object after executing this example. The check of correspondence of the set format of identifiers is not performed.
See also: