Esempio n. 1
0
 public C21DocumentService(DbConnectionSettings dbConnectionSettings, List <string> procOutput)
 {
     _dbConnectionSettings          = dbConnectionSettings;
     DataConnection.DefaultSettings = new DbSettings(_dbConnectionSettings.ConnStr());
     DataConnection.SetConnectionString("Db", _dbConnectionSettings.ConnStr());
     _procOutput = procOutput;
 }
 public C21ContractorService(DbConnectionSettings dbConnectionSettings)
 {
     _dbConnectionSettings          = dbConnectionSettings;
     DataConnection.DefaultSettings = new DbSettings(_dbConnectionSettings.ConnStr());
     DataConnection.SetConnectionString("Db", _dbConnectionSettings.ConnStr());
 }