BulkOptions<T>

Class BulkOptions<T>

Options used for BulkInsert/BulkUpdate/BulkDelete operations.

Inheritance
BulkOptions<T>
Namespace: ETLBox.DbExtensions
Assembly: ETLBox.DbExtensions.dll
Syntax
    public class BulkOptions<T> : BulkOptionsShared<T>
Type Parameters
NameDescription
T

Type of data used for the operation.

Properties

AfterBatchWrite

Action to perform tasks after batch write.

Declaration
    public Action<T[]> AfterBatchWrite { get; set; }
Property Value
TypeDescription
Action<T[]>

BeforeBatchWrite

Function to modify data before batch write.

Declaration
    public Func<T[], T[]> BeforeBatchWrite { get; set; }
Property Value
TypeDescription
Func<T[], T[]>

UpdateColumns

Specify the property names for update operations. If left empty, all non-ID columns are updated.

Declaration
    public ICollection<UpdateColumn> UpdateColumns { get; set; }
Property Value
TypeDescription
ICollection<UpdateColumn>