Class BulkOptions<T>
Options used for BulkInsert/BulkUpdate/BulkDelete operations.
Inherited Members
Namespace: ETLBox.DbExtensions
Assembly: ETLBox.DbExtensions.dll
Syntax
public class BulkOptions<T> : BulkOptionsShared<T>
Type Parameters
Name | Description |
---|---|
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
Type | Description |
---|---|
Action<T[]> |
BeforeBatchWrite
Function to modify data before batch write.
Declaration
public Func<T[], T[]> BeforeBatchWrite { get; set; }
Property Value
Type | Description |
---|---|
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
Type | Description |
---|---|
ICollection<UpdateColumn> |