public ImportAssets(Guid organizationId, int departmentId, string fileName) : this(organizationId, departmentId) { _file_name = fileName; _oledb = null; if (File.Exists(_file_name)) _oledb = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + _file_name + ";Extended Properties=\"Excel 12.0;HDR=No;IMEX=1\""); _importTables = new ImportTables(); import_log = new ImportLog(); }
public ImportAssets(Guid organizationId, int departmentId) { _organizationId = organizationId; _departmentId = departmentId; _file_name = string.Empty; _oledb = null; _importTables = new ImportTables(); import_log = new ImportLog(); }