Exemplo n.º 1
0
 public ToDataTable(ToDataTableOptions options, ExcelRangeBase range)
 {
     Require.That(options).IsNotNull();
     Require.That(range).IsNotNull();
     _options = options;
     _range   = range;
 }
Exemplo n.º 2
0
 public DataTableBuilder(ToDataTableOptions options, ExcelRangeBase range, DataTable dataTable)
 {
     Require.That(options).IsNotNull();
     Require.That(range).IsNotNull();
     _options   = options;
     _range     = range;
     _sheet     = _range.Worksheet;
     _dataTable = dataTable;
 }
Exemplo n.º 3
0
 public DataTableMapper(ToDataTableOptions options, ExcelRangeBase range, DataTable dataTable)
 {
     Require.That(options).IsNotNull();
     Require.That(dataTable).IsNotNull();
     Require.That(range).IsNotNull();
     _options   = options;
     _dataTable = dataTable;
     _range     = range;
 }
Exemplo n.º 4
0
 public DataTableBuilder(ToDataTableOptions options, ExcelRangeBase range)
     : this(options, range, null)
 {
 }
Exemplo n.º 5
0
 public DataTablePrimaryKey(ToDataTableOptions options)
 {
     _options = options;
     Initialize();
 }