Exemple #1
0
        public SqlFileMessage(string filePath)
        {
            _file = new FileInfo(filePath);

            _sqlCache = MyCacheManager.GetCache <string, SqlDocument>(Constants.SQL_CACHE_KEY, k => SqlXmlHelper.Instance.GetDocument(k));
        }
Exemple #2
0
 public SqlXmlHelper()
 {
     _sqlCache = MyCacheManager.GetCache <string, SqlDocument>(Constants.SQL_CACHE_KEY, k => GetDocument(k));
 }