public RepositoryBase(IDataBaseFactory factory) { this.dataContext = factory.DataContext; dbset = dataContext.Set <T>(); }
public DataBaseFactory() { dataContext = new SinistreContext(); }