InstancePersistenceContext.AssociatedInstanceKey(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.