From b921410515bf3a869abfbe7dd5b06f2cd1c73acc Mon Sep 17 00:00:00 2001 From: hak8or Date: Sun, 18 Feb 2018 14:06:16 -0500 Subject: [PATCH] small clean for fetchvideos --- YTManager/Tasks/FetchVideos.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/YTManager/Tasks/FetchVideos.cs b/YTManager/Tasks/FetchVideos.cs index 2da00de..de4d662 100644 --- a/YTManager/Tasks/FetchVideos.cs +++ b/YTManager/Tasks/FetchVideos.cs @@ -18,9 +18,11 @@ namespace YTManager.Tasks ApplicationName = "testingapppp" }); - // Get all the channels to update. + // Get the interface to the database. var ops = new DbContextOptionsBuilder(); ops.UseInMemoryDatabase(databaseName: "testdb"); + + // Get all the channels to update. using (var dbcontext = new MediaDB(ops.Options)) { // Get all the potential relevant channels. List channels;