Table of Contents

Class UpdateSettersBuilder

Namespace
GroupeIsa.Neos.Shared.Linq
Assembly
GroupeIsa.Neos.Shared.dll

Supports specifying property and value to be set in ExecuteUpdate method with chaining multiple calls for updating multiple columns.

This type does not have any constructor or implementation since it is used inside LINQ query solely for the purpose of creating expression tree.

public abstract class UpdateSettersBuilder
Inheritance
UpdateSettersBuilder
Derived
Inherited Members

Remarks

Methods

BuildSettersExpression()

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual NewArrayExpression BuildSettersExpression()

Returns

NewArrayExpression

A NewArrayExpression containing all the setter expressions.

SetProperty(LambdaExpression, Expression)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual UpdateSettersBuilder SetProperty(LambdaExpression propertyExpression, Expression valueExpression)

Parameters

propertyExpression LambdaExpression

A lambda expression representing the property to be updated.

valueExpression Expression

An expression representing the value to set.

Returns

UpdateSettersBuilder

The same instance so that multiple calls can be chained.

SetProperty(LambdaExpression, LambdaExpression)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual UpdateSettersBuilder SetProperty(LambdaExpression propertyExpression, LambdaExpression valueExpression)

Parameters

propertyExpression LambdaExpression

A lambda expression representing the property to be updated.

valueExpression LambdaExpression

A lambda expression representing the value to set.

Returns

UpdateSettersBuilder

The same instance so that multiple calls can be chained.