DbExpressionBuilder.SetClause Method (DbExpression, DbExpression)

 

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

Namespace:   System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder
Assembly:  EntityFramework (in EntityFramework.dll)

public static DbSetClause SetClause(
	DbExpression property,
	DbExpression value
)

Parameters

property
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpression

The property to be set.

value
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpression

The value to set the property to.

Return Value

Type: System.Data.Entity.Core.Common.CommandTrees.DbSetClause

The newly created set clause.