DbCommandDefinition Class

 

Represents a prepared command definition, can be cached and reused to avoid repreparing a command.

Namespace:   System.Data.Entity.Core.Common
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.Core.Common.DbCommandDefinition

public class DbCommandDefinition

NameDescription
System_CAPS_protmethodDbCommandDefinition()

Initializes a new instance of the DbCommandDefinition class.

System_CAPS_protmethodDbCommandDefinition(DbCommand, Func<DbCommand, DbCommand>)

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

NameDescription
System_CAPS_pubmethodCreateCommand()

Creates and returns a DbCommand object that can be executed.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.