DbExpressionBuilder.SetClause(DbExpression, DbExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework