Share via


DbExpressionBuilder.SetClause(DbExpression, DbExpression) Method

Definition

Creates a new DbSetClause representing setting a property to a value.

public static System.Data.Entity.Core.Common.CommandTrees.DbSetClause SetClause (System.Data.Entity.Core.Common.CommandTrees.DbExpression property, System.Data.Entity.Core.Common.CommandTrees.DbExpression value);
static member SetClause : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbSetClause
Public Function SetClause (property As DbExpression, value As DbExpression) As DbSetClause

Parameters

property
DbExpression

The property to be set.

value
DbExpression

The value to set the property to.

Returns

The newly created set clause.

Applies to