EntityConnection.CreateCommand 方法

定义

创建 的新实例 EntityCommand,并将 Connection 设置为此 EntityConnection

public virtual System.Data.Entity.Core.EntityClient.EntityCommand CreateCommand ();
override this.CreateCommand : unit -> System.Data.Entity.Core.EntityClient.EntityCommand
Public Overridable Function CreateCommand () As EntityCommand

返回

一个 EntityCommand 对象。

例外

基础数据提供程序的名称未知。

适用于