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