public UnitOfWork(string connectionString) { db = new WH_Context(connectionString); repositories = new Dictionary <Type, object>(); disposed = false; }
public Repository(WH_Context context) { this.db = context; }
public UnitOfWork(string connectionString) { db = new WH_Context(connectionString); repositories = new Dictionary <Type, object>(); disposed = false; }
public Repository(WH_Context context) { this.db = context; }