Class BulkOptionsShared<T>
Inheritance
System.Object
BulkOptionsShared<T>
Namespace: EFBox
Assembly: EFBox.dll
Syntax#
public abstract class BulkOptionsShared<T>
Type Parameters
Properties
AllowIdentityInsert#
Enables identity insert for the operation - this will override
existing values in identity / auto-increment / serial columns.
Declaration
public bool AllowIdentityInsert { get; set; }
Property Value
BatchSize#
The number of records to be processed in a single batch.
Declaration
public int BatchSize { get; set; }
Property Value
ColumnConverters#
Allows custom conversions for specific columns.
Declaration
public ICollection<ColumnConverter> ColumnConverters { get; set; }
Property Value
Type | Description |
---|
ICollection<><ColumnConverter> | |
ErrorData#
Declaration
public ICollection<ETLBoxError> ErrorData { get; set; }
Property Value
Type | Description |
---|
ICollection<><ETLBoxError> | |
OnProgress#
Action is invoked for every processed batch.
Declaration
public Action<int> OnProgress { get; set; }
Property Value
Type | Description |
---|
Action<><int> | |
ReadGeneratedValues#
Indicates whether to read back generated values like auto-incremented IDs.
Declaration
public bool ReadGeneratedValues { get; set; }
Property Value
RedirectErroneousBatches#
Indicates whether to redirect erroneous batches.
By default an exception is thrown when a batch can't be inserted into a database,
and the bulk operation is stopped.
Setting this to true won't stop execution when a batch can't be processed.
ErrorData will hold details about flawed batch.
Declaration
public bool RedirectErroneousBatches { get; set; }
Property Value