SetPropertyCalls<TSource> Class

Definition

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 sealed class SetPropertyCalls<TSource>
type SetPropertyCalls<'Source> = class
Public NotInheritable Class SetPropertyCalls(Of TSource)

Type Parameters

TSource

The type of source element on which ExecuteUpdate operation is being applied.

Inheritance
SetPropertyCalls<TSource>

Remarks

See Implementation of database providers and extensions and How EF Core queries work for more information and examples.

Methods

SetProperty<TProperty>(Func<TSource,TProperty>, Func<TSource,TProperty>)

Specifies a property and corresponding value it should be updated to in ExecuteUpdate method.

SetProperty<TProperty>(Func<TSource,TProperty>, TProperty)

Specifies a property and corresponding value it should be updated to in ExecuteUpdate method.

Applies to