internal CDatabaseConnection InitializeDB() { CDatabaseConnection conn = null; CFunctions.CreateFolderIfNotExist(Core.DatabasePath); conn = new CDatabaseConnection(Core.DatabasePath + "\\" + Core._StartTime + ".db"); if (conn._DBTryInitialize()) { return(conn); } else { return(null); } }