DbExpressionBuilder.SetClause-Methode
[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]
Erstellt eine neue DbSetClause, die das Festlegen einer Eigenschaft auf einen Wert darstellt.
Namespace: System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
Public Shared Function SetClause ( _
property As DbExpression, _
value As DbExpression _
) As DbSetClause
'Usage
Dim property As DbExpression
Dim value As DbExpression
Dim returnValue As DbSetClause
returnValue = DbExpressionBuilder.SetClause(property, _
value)
public static DbSetClause SetClause(
DbExpression property,
DbExpression value
)
public:
static DbSetClause^ SetClause(
DbExpression^ property,
DbExpression^ value
)
static member SetClause :
property:DbExpression *
value:DbExpression -> DbSetClause
public static function SetClause(
property : DbExpression,
value : DbExpression
) : DbSetClause
Parameter
- property
Typ: System.Data.Entity.Core.Common.CommandTrees.DbExpression
Die festzulegende Eigenschaft.
- value
Typ: System.Data.Entity.Core.Common.CommandTrees.DbExpression
Der Wert, auf den die Eigenschaft festgelegt werden soll.
Rückgabewert
Typ: System.Data.Entity.Core.Common.CommandTrees.DbSetClause
Die neu erstellte Set-Klausel.
Siehe auch
Verweis
System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder-Namespace