コード例 #1
0
 public MariaDBAuditSink(
     string connectionString,
     IFormatProvider formatProvider,
     MariaDBSinkOptions options,
     string tableName,
     bool autoCreateTable
     )
 {
     ConnectionString = connectionString;
     Core             = new MariaDBSinkCore(connectionString, formatProvider, options, tableName, autoCreateTable);
 }
コード例 #2
0
 public MariaDBSink(string connectionString,
                    IFormatProvider formatProvider,
                    int batchPostingLimit,
                    int queueSizeLimit,
                    TimeSpan period,
                    MariaDBSinkOptions options,
                    string tableName,
                    bool autoCreateTable,
                    bool useBulkInsert) : base(batchPostingLimit, period, queueSizeLimit)
 {
     ConnectionString = connectionString;
     UseBulkInsert    = useBulkInsert;
     Core             = new MariaDBSinkCore(connectionString, formatProvider, options, tableName, autoCreateTable);
 }