ExpressionExtensions.Assign(MemberExpression, Expression) 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 BinaryExpression that represents an assignment operation.
public static System.Linq.Expressions.Expression Assign (this System.Linq.Expressions.MemberExpression memberExpression, System.Linq.Expressions.Expression valueExpression);
[System.Diagnostics.CodeAnalysis.DynamicDependency]
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ReflectionAnalysis", "IL2077", Justification="AssignBinaryExpression is preserved via DynamicDependency below")]
public static System.Linq.Expressions.Expression Assign (this System.Linq.Expressions.MemberExpression memberExpression, System.Linq.Expressions.Expression valueExpression);
static member Assign : System.Linq.Expressions.MemberExpression * System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
[<System.Diagnostics.CodeAnalysis.DynamicDependency>]
[<System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ReflectionAnalysis", "IL2077", Justification="AssignBinaryExpression is preserved via DynamicDependency below")>]
static member Assign : System.Linq.Expressions.MemberExpression * System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
<Extension()>
Public Function Assign (memberExpression As MemberExpression, valueExpression As Expression) As Expression
Parameters
- memberExpression
- MemberExpression
The member to which assignment will be made.
- valueExpression
- Expression
The value that will be assigned.
Returns
The BinaryExpression representing the assignment binding.
- Attributes
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