Table of Contents

Delegate InsertOrUpdateColumnFilter<T>

Namespace
LinqToDB
Assembly
linq2db.dll

Defines signature for column filter for insert or update/replace operations.

public delegate bool InsertOrUpdateColumnFilter<T>(T entity, ColumnDescriptor column, bool isInsert)

Parameters

entity T

Entity instance.

column ColumnDescriptor

Descriptor of column.

isInsert bool

If true, filter applied to insert operation, otherwise to update/replace.

Returns

bool

true, if column should be included in operation and false otherwise.

Type Parameters

T

Entity type.

Extension Methods