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