AcquireReservation(ISchema):IDataObjectIdentityReservation

Generates a reservation for an Id.

This method generates a reservation for an Id. Other procedures can no longer take this Id for data objects.

Parameter

schema

Type: Onion.Client.ISchema

This parameter is the schema the reservation is to follow.

Reservations must also follow a schema so that they can be created underneath another data object.

The schema for the next logic layer up - the ChangeSets - is important. ChangeSets are based on locks. If a data object is created in a ChangeSet, then the data object follows a schema. If it is published, the reservation becomes a complete data object. Modifying the schema is no longer possible at the time of publication and must therefore be correctly set at the beginning.