DbInsertCommandTree Classe
Definição
Representa uma operação de inserção de uma única linha expressa como uma árvore de comandos.Represents a single row insert operation expressed as a command tree. Essa classe não pode ser herdada.This class cannot be inherited.
public ref class DbInsertCommandTree sealed : System::Data::Common::CommandTrees::DbModificationCommandTree
public sealed class DbInsertCommandTree : System.Data.Common.CommandTrees.DbModificationCommandTree
type DbInsertCommandTree = class
inherit DbModificationCommandTree
Public NotInheritable Class DbInsertCommandTree
Inherits DbModificationCommandTree
- Herança
Comentários
Quando a Returning propriedade é definida, o comando retorna um leitor; caso contrário, retorna um valor escalar indicando o número de linhas afetadas.When the Returning property is set, the command returns a reader; otherwise, it returns a scalar value indicating the number of rows affected.
Propriedades
| Parameters |
Obtém o nome e o tipo correspondente de cada parâmetro que pode ser referenciado dentro deste DbCommandTree.Gets the name and corresponding type of each parameter that can be referenced within this DbCommandTree. (Herdado de DbCommandTree) |
| Returning |
Obtém um DbExpression que especifica uma projeção de resultados a ser retornada com base nas linhas modificadas.Gets an DbExpression that specifies a projection of results to be returned based on the modified rows. |
| SetClauses |
Obtém a lista de cláusulas set insert que definem a operação de inserção.Gets the list of insert set clauses that define the insert operation. |
| Target |
Obtém o DbExpressionBinding que especifica a tabela de destino para a operação de DML (linguagem de manipulação de dados).Gets the DbExpressionBinding that specifies the target table for the data manipulation language (DML) operation. (Herdado de DbModificationCommandTree) |
Métodos
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |