InstancePersistenceCommand InstancePersistenceCommand InstancePersistenceCommand InstancePersistenceCommand Class


Base class for all persistence related commands. Commands are distinguished by their Name. Usually commands can also be distinguished by their derived type.

public ref class InstancePersistenceCommand abstract
public abstract class InstancePersistenceCommand
type InstancePersistenceCommand = class
Public MustInherit Class InstancePersistenceCommand


InstancePersistenceCommand(XName) InstancePersistenceCommand(XName) InstancePersistenceCommand(XName) InstancePersistenceCommand(XName)

Initializes an instance of the InstancePersistenceCommand class.


AutomaticallyAcquiringLock AutomaticallyAcquiringLock AutomaticallyAcquiringLock AutomaticallyAcquiringLock

Indicates whether the command could attempt to acquire a lock on the instance.

IsTransactionEnlistmentOptional IsTransactionEnlistmentOptional IsTransactionEnlistmentOptional IsTransactionEnlistmentOptional

Returns a value that indicates whether the persistence provider may choose not to enlist in the ambient transaction (Transaction.Current) when executing this command.

Name Name Name Name

Gets the name of the persistence command.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
Validate(InstanceView) Validate(InstanceView) Validate(InstanceView) Validate(InstanceView)

Validates the command.

Applies to