Ejemplo n.º 1
0
        public void LoadMdfLdfDirectories()
        {
            if (CacheContainsKey(SqlScriptTokens.MdfDir) && CacheContainsKey(SqlScriptTokens.LdfDir))
            {
                return;
            }
            var directoryInfo = _deploymentRepo.ReadMdfLdfDirectories(_serverName);

            AddToCache(SqlScriptTokens.MdfDir, directoryInfo.MdfPath);
            AddToCache(SqlScriptTokens.LdfDir, directoryInfo.LdfPath);
        }