internal ExcelQueryArgs(ExcelQueryConstructorArgs args)
 {
     FileName = args.FileName;
     ColumnMappings = args.ColumnMappings ?? new Dictionary<string, string>();
     Transformations = args.Transformations ?? new Dictionary<string, Func<string, object>>();
     StrictMapping = args.StrictMapping;
 }
Beispiel #2
0
 internal ExcelQueryArgs(ExcelQueryConstructorArgs args)
 {
     FileName        = args.FileName;
     DatabaseEngine  = args.DatabaseEngine;
     ColumnMappings  = args.ColumnMappings ?? new Dictionary <string, string>();
     Transformations = args.Transformations ?? new Dictionary <string, Func <string, object> >();
     StrictMapping   = args.StrictMapping;
 }
Beispiel #3
0
 internal ExcelQueryArgs(ExcelQueryConstructorArgs args)
 {
     FileName                = args.FileName;
     ColumnMappings          = args.ColumnMappings ?? new Dictionary <string, string>();
     Transformations         = args.Transformations ?? new Dictionary <string, Func <string, object> >();
     StrictMapping           = args.StrictMapping ?? StrictMappingType.None;
     UsePersistentConnection = args.UsePersistentConnection;
     TrimSpaces              = args.TrimSpaces;
     ReadOnly                = args.ReadOnly;
 }
Beispiel #4
0
 internal ExcelQueryArgs(ExcelQueryConstructorArgs args)
 {
     FileName = args.FileName;
     DatabaseEngine = args.DatabaseEngine;
     ColumnMappings = args.ColumnMappings ?? new Dictionary<string, string>();
     Transformations = args.Transformations ?? new Dictionary<string, Func<string, object>>();
     StrictMapping = args.StrictMapping ?? StrictMappingType.None;
     UsePersistentConnection = args.UsePersistentConnection;
     TrimSpaces = args.TrimSpaces;
     ReadOnly = args.ReadOnly;
 }
Beispiel #5
0
 internal ExcelQueryArgs(ExcelQueryConstructorArgs args)
 {
     FileName                  = args.FileName;
     DatabaseEngine            = args.DatabaseEngine;
     ColumnMappings            = args.ColumnMappings ?? new Dictionary <string, string>();
     Transformations           = args.Transformations ?? new Dictionary <TransformKey, Func <string, object> >();
     TypeTransformations       = args.TypeTransformations ?? new Dictionary <Type, Func <string, object> >();
     ForeignKeyTransformations = args.ForeignKeyTransformations ?? new Dictionary <TransformKey, Tuple <string, Func <object, IQueryable, IQueryable> > >();
     StrictMapping             = args.StrictMapping ?? StrictMappingType.None;
     SheetDataIncludes         = args.SheetDataIncludes ?? new Dictionary <TransformKey, IQueryable>();
 }
Beispiel #6
0
 internal ExcelQueryArgs(ExcelQueryConstructorArgs args)
 {
     FileName = args.FileName;
     DatabaseEngine = args.DatabaseEngine;
     ColumnMappings = args.ColumnMappings ?? new Dictionary<string, string>();
     Transformations = args.Transformations ?? new Dictionary<TransformKey, Func<string, object>>();
     TypeTransformations = args.TypeTransformations ?? new Dictionary<Type, Func<string, object>>();
     ForeignKeyTransformations = args.ForeignKeyTransformations ?? new Dictionary<TransformKey, Tuple<string, Func<object, IQueryable, IQueryable>>>();
     StrictMapping = args.StrictMapping ?? StrictMappingType.None;
     SheetDataIncludes = args.SheetDataIncludes ?? new Dictionary<TransformKey, IQueryable>();
 }
 internal ExcelQueryArgs(ExcelQueryConstructorArgs args)
 {
     FileName                = args.FileName;
     ColumnMappings          = args.ColumnMappings ?? new Dictionary <string, string>();
     Transformations         = args.Transformations ?? new Dictionary <string, Func <string, object> >();
     StrictMapping           = args.StrictMapping ?? StrictMappingType.None;
     UsePersistentConnection = args.UsePersistentConnection;
     TrimSpaces              = args.TrimSpaces;
     ReadOnly                = args.ReadOnly;
     Lazy               = args.Lazy;
     OleDbServices      = args.OleDbServices;
     CodePageIdentifier = args.CodePageIdentifier;
     SkipEmptyRows      = args.SkipEmptyRows;
 }