Ejemplo n.º 1
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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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>();
 }
Ejemplo n.º 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>();
 }
Ejemplo n.º 7
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;
     Lazy               = args.Lazy;
     OleDbServices      = args.OleDbServices;
     CodePageIdentifier = args.CodePageIdentifier;
     SkipEmptyRows      = args.SkipEmptyRows;
 }