Table of Contents

Interface IUpdateBuilder<TEntity>

Namespace
eQuantic.Core.Data.Migration
Assembly
eQuantic.Core.Data.dll

Builds the assignments of an Update(Expression<Func<TEntity, bool>>, Action<IUpdateBuilder<TEntity>>) with typed selectors.

public interface IUpdateBuilder<TEntity> where TEntity : class

Type Parameters

TEntity

The entity type.

Methods

Set<TField>(Expression<Func<TEntity, TField>>, TField)

Assigns a value to a field.

IUpdateBuilder<TEntity> Set<TField>(Expression<Func<TEntity, TField>> field, TField value)

Parameters

field Expression<Func<TEntity, TField>>

The field selector.

value TField

The value to set.

Returns

IUpdateBuilder<TEntity>

Type Parameters

TField

The field type.