Esempio n. 1
0
 public GestionComercialWebEntities Get()
 {
     return(dataContext ?? (dataContext = new GestionComercialWebEntities(connectionStringFactory.Get())));
 }
Esempio n. 2
0
 public SqlClientTransaction(IConnectionStringFactory connectionStringFactory, IsolationLevel level)
 {
     OpenConnectionAndBeginTransaction(new SqlConnection(connectionStringFactory.Get()), level);
 }
Esempio n. 3
0
 public DatabaseUnitOfWorkFactory(IConnectionStringFactory connectionStringFactory)
 {
     _connectionString = connectionStringFactory.Get();
     _config           = new K();
 }