small clean for fetchvideos
This commit is contained in:
parent
f86597686f
commit
b921410515
@ -18,9 +18,11 @@ namespace YTManager.Tasks
|
|||||||
ApplicationName = "testingapppp"
|
ApplicationName = "testingapppp"
|
||||||
});
|
});
|
||||||
|
|
||||||
// Get all the channels to update.
|
// Get the interface to the database.
|
||||||
var ops = new DbContextOptionsBuilder<MediaDB>();
|
var ops = new DbContextOptionsBuilder<MediaDB>();
|
||||||
ops.UseInMemoryDatabase(databaseName: "testdb");
|
ops.UseInMemoryDatabase(databaseName: "testdb");
|
||||||
|
|
||||||
|
// Get all the channels to update.
|
||||||
using (var dbcontext = new MediaDB(ops.Options)) {
|
using (var dbcontext = new MediaDB(ops.Options)) {
|
||||||
// Get all the potential relevant channels.
|
// Get all the potential relevant channels.
|
||||||
List<Models.Channel> channels;
|
List<Models.Channel> channels;
|
||||||
|
Loading…
Reference in New Issue
Block a user