DbCommandDefinition Class
Defines a cacheable command plan.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
| Name | Description | |
|---|---|---|
![]() | DbCommandDefinition() | Initializes a new instance of the DbCommandDefinition class. |
![]() | DbCommandDefinition(DbCommand^) | Initializes a new instance of the DbCommandDefinition class using the supplied DbCommand. |
| Name | Description | |
|---|---|---|
![]() | 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.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The DbCommandDefinition class is used by the Entity Framework and is not intended for use as a stand-alone component.
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

