Bewerken

Share via


DbCommandDefinition Class

Definition

Defines a cacheable command plan.

public ref class DbCommandDefinition
public class DbCommandDefinition
type DbCommandDefinition = class
Public Class DbCommandDefinition
Inheritance
DbCommandDefinition

Remarks

The DbCommandDefinition class is used by the Entity Framework and is not intended for use as a stand-alone component.

Constructors

DbCommandDefinition()

Initializes a new instance of the DbCommandDefinition class.

DbCommandDefinition(DbCommand)

Initializes a new instance of the DbCommandDefinition class using the supplied DbCommand.

Methods

CreateCommand()

Creates and returns a DbCommand object that can be executed.

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)

Applies to