DbCommandDefinition 类

定义

定义可缓存的命令计划。Defines a cacheable command plan.

public ref class DbCommandDefinition
public class DbCommandDefinition
type DbCommandDefinition = class
Public Class DbCommandDefinition
继承
DbCommandDefinition

注解

DbCommandDefinition 类由实体框架使用,不用作独立组件。The DbCommandDefinition class is used by the Entity Framework and is not intended for use as a stand-alone component.

构造函数

DbCommandDefinition()

初始化 DbCommandDefinition 类的新实例。Initializes a new instance of the DbCommandDefinition class.

DbCommandDefinition(DbCommand)

使用提供的 DbCommandDefinition 初始化 DbCommand 类的新实例。Initializes a new instance of the DbCommandDefinition class using the supplied DbCommand.

方法

CreateCommand()

创建并返回一个可执行的 DbCommand 对象。Creates and returns a DbCommand object that can be executed.

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于