Compartir a través de


DbUpdateCommandTree Constructor

Definición

Inicializa una nueva instancia de la clase DbUpdateCommandTree.

public DbUpdateCommandTree (System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace metadata, System.Data.Entity.Core.Metadata.Edm.DataSpace dataSpace, System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding target, System.Data.Entity.Core.Common.CommandTrees.DbExpression predicate, System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationClause> setClauses, System.Data.Entity.Core.Common.CommandTrees.DbExpression returning);
new System.Data.Entity.Core.Common.CommandTrees.DbUpdateCommandTree : System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace * System.Data.Entity.Core.Metadata.Edm.DataSpace * System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding * System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationClause> * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbUpdateCommandTree

Parámetros

metadata
MetadataWorkspace

El modelo en el que funcionará este comando.

dataSpace
DataSpace

Espacio de datos.

target
DbExpressionBinding

Tabla de destino para la operación del lenguaje de manipulación de datos (DML).

predicate
DbExpression

Predicado que se usa para determinar qué miembros de la colección de destino se deben actualizar.

setClauses
ReadOnlyCollection<DbModificationClause>

La lista de cláusulas set de actualización que definen la operación de actualización.

returning
DbExpression

que DbExpression especifica una proyección de los resultados que se van a devolver, en función de las filas modificadas.

Se aplica a