Redigera

Dela via


InstancePersistenceCommand Class

Definition

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
Inheritance
InstancePersistenceCommand
Derived

Constructors

InstancePersistenceCommand(XName)

Initializes an instance of the InstancePersistenceCommand class.

Properties

AutomaticallyAcquiringLock

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

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

Gets the name of the persistence command.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
Validate(InstanceView)

Validates the command.

Applies to