Επεξεργασία

Κοινή χρήση μέσω


InstancePersistenceContext.AssociatedInstanceKey(Guid) Method

Definition

Indicates that the persistence provider has successfully associated a key to the current instance in the instance store. The identifier of the key is specified as a parameter.

public:
 void AssociatedInstanceKey(Guid key);
public void AssociatedInstanceKey (Guid key);
member this.AssociatedInstanceKey : Guid -> unit
Public Sub AssociatedInstanceKey (key As Guid)

Parameters

key
Guid

The instance key identifier for the key that has been associated. Must not be Guid.Empty.

Remarks

The instance key must be unassociated. The current instance handle must be bound to an instance as well as a lock on that instance.

Applies to