Compartir a través de


DbProviderServices.CreateCommandDefinition Método

Definición

Sobrecargas

CreateCommandDefinition(DbCommand)

Cree el objeto DbCommandDefinition predeterminado basado en el comando prototipo Este método está pensado para que los escritores de proveedores compilen una definición de comando predeterminada a partir de un comando. Nota: Esto clonará el prototipo

CreateCommandDefinition(DbCommandTree)

Cree un objeto Command Definition según un árbol de comandos.

CreateCommandDefinition(DbProviderManifest, DbCommandTree)

Crea una definición de comando a partir del manifiesto y el árbol de comandos especificados.

CreateCommandDefinition(DbCommand)

Cree el objeto DbCommandDefinition predeterminado basado en el comando prototipo Este método está pensado para que los escritores de proveedores compilen una definición de comando predeterminada a partir de un comando. Nota: Esto clonará el prototipo

public virtual System.Data.Entity.Core.Common.DbCommandDefinition CreateCommandDefinition (System.Data.Common.DbCommand prototype);
abstract member CreateCommandDefinition : System.Data.Common.DbCommand -> System.Data.Entity.Core.Common.DbCommandDefinition
override this.CreateCommandDefinition : System.Data.Common.DbCommand -> System.Data.Entity.Core.Common.DbCommandDefinition
Public Overridable Function CreateCommandDefinition (prototype As DbCommand) As DbCommandDefinition

Parámetros

prototype
DbCommand

el comando prototipo

Devoluciones

un objeto de definición de comando ejecutable

Se aplica a

CreateCommandDefinition(DbCommandTree)

Cree un objeto Command Definition según un árbol de comandos.

public System.Data.Entity.Core.Common.DbCommandDefinition CreateCommandDefinition (System.Data.Entity.Core.Common.CommandTrees.DbCommandTree commandTree);
member this.CreateCommandDefinition : System.Data.Entity.Core.Common.CommandTrees.DbCommandTree -> System.Data.Entity.Core.Common.DbCommandDefinition
Public Function CreateCommandDefinition (commandTree As DbCommandTree) As DbCommandDefinition

Parámetros

commandTree
DbCommandTree

árbol de comandos para la instrucción

Devoluciones

un objeto de definición de comando ejecutable

Comentarios

Este método simplemente delega a la implementación del proveedor de CreateDbCommandDefinition.

Se aplica a

CreateCommandDefinition(DbProviderManifest, DbCommandTree)

Crea una definición de comando a partir del manifiesto y el árbol de comandos especificados.

public System.Data.Entity.Core.Common.DbCommandDefinition CreateCommandDefinition (System.Data.Entity.Core.Common.DbProviderManifest providerManifest, System.Data.Entity.Core.Common.CommandTrees.DbCommandTree commandTree);
member this.CreateCommandDefinition : System.Data.Entity.Core.Common.DbProviderManifest * System.Data.Entity.Core.Common.CommandTrees.DbCommandTree -> System.Data.Entity.Core.Common.DbCommandDefinition
Public Function CreateCommandDefinition (providerManifest As DbProviderManifest, commandTree As DbCommandTree) As DbCommandDefinition

Parámetros

providerManifest
DbProviderManifest

Manifiesto.

commandTree
DbCommandTree

Árbol de comandos.

Devoluciones

Definición de comando creada.

Se aplica a