Class Settings
Contains static information which affects all Dataflow tasks in ETLBox. Here you can set the threshold value when information about processed records should appear.
Inheritance
Inherited Members
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
public static class Settings
Fields
DEFAULT_LOG_THRESHOLD
The default value for LogThreshold
Declaration
public const int DEFAULT_LOG_THRESHOLD = 1000
Field Value
Type | Description |
---|---|
int |
DEFAULT_MAX_BUFFER_SIZE
The default value for MaxBufferSize
Declaration
public const int DEFAULT_MAX_BUFFER_SIZE = 100000
Field Value
Type | Description |
---|---|
int |
Properties
DefaultDbConnection
You can store your general database connection string here. This connection will then used by all Tasks where no DB connection is excplicitly set.
Declaration
public static IConnectionManager DefaultDbConnection { get; set; }
Property Value
Type | Description |
---|---|
IConnectionManager |
LogInstance
Declaration
public static ILogger LogInstance { get; set; }
Property Value
Type | Description |
---|---|
ILogger |
LogThreshold
To avoid getting a log message for every row, by default only a log message each 1000 rows. Setting this property will decrease or increase this default value for all dataflow components. The individual log threshold can be overwritten in each component separately.
Declaration
public static int? LogThreshold { get; set; }
Property Value
Type | Description |
---|---|
int? |
MaxBufferSize
The default maximum size for all buffers in the dataflow. This is the default value. Each maximum buffer size value can overwritten in a dataflow component seperately.
Declaration
public static int MaxBufferSize { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
ClearSettings()
Set all settings back to default values.
Declaration
public static void ClearSettings()