Compartilhar via


DbProviderServices.CreateCommandDefinition Método

Definição

Cria um objeto de definição de comando da definição do comando especificada.

Sobrecargas

CreateCommandDefinition(DbCommandTree)

Cria a definição de comando da árvore de comando.

CreateCommandDefinition(DbCommand)

Cria uma definição de comando que usa um comando especificado.

CreateCommandDefinition(DbProviderManifest, DbCommandTree)

Cria a definição de comando com base na árvore de comando e manifesto especificada.

CreateCommandDefinition(DbCommandTree)

Cria a definição de comando da árvore de comando.

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

Parâmetros

commandTree
DbCommandTree

A árvore de comandos.

Retornos

A definição de comando criada.

Aplica-se a

CreateCommandDefinition(DbCommand)

Cria uma definição de comando que usa um comando especificado.

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

Parâmetros

prototype
DbCommand

O comando usado para criar a definição de comando.

Retornos

A definição de comando criada que usa um comando especificado.

Aplica-se a

CreateCommandDefinition(DbProviderManifest, DbCommandTree)

Cria a definição de comando com base na árvore de comando e manifesto especificada.

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

Parâmetros

providerManifest
DbProviderManifest

O manifesto.

commandTree
DbCommandTree

A árvore de comandos.

Retornos

A definição de comando criada.

Aplica-se a