public void SetUp() { Effort.Provider.EffortProviderConfiguration.RegisterProvider(); var connection = DbConnectionFactory.CreateTransient(); _context = new SampleEntities(connection); _context.Fill(); }
public void SetUp() { //Se cambió a SQLite por compatibilidad _context = new SampleEntities(); _context.Database.EnsureDeleted(); _context.Database.EnsureCreated(); _context.Database.Migrate(); _context.Fill(); }
public void SetUp() { Effort.Provider.EffortProviderConfiguration.RegisterProvider(); var connection = DbConnectionFactory.CreateTransient(); _context = new SampleEntities(connection); _context.Fill(); _repo = new DataSourceRepository(); _repo.AddSource(_context.Things); }
public void SetUp() { //Se cambió a SQLite por compatibilidad // Effort.Provider.EffortProviderConfiguration.RegisterProvider(); //var connection = DbConnectionFactory.CreateTransient(); _context = new SampleEntities(); _context.Database.EnsureDeleted(); _context.Database.EnsureCreated(); _context.Database.Migrate(); _context.Fill(); }