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
TEntity instance.
column
ColumnDescriptorDescriptor of column.
isInsert
boolIf
true
, filter applied to insert operation, otherwise to update/replace.
Returns
- bool
true
, if column should be included in operation andfalse
otherwise.
Type Parameters
T
Entity type.
- Extension Methods