Beispiel #1
0
        public string GetDicstring(string key)
        {
            var item = SystemDictionaries.FirstOrDefault(p => p.KeyName == key);

            if (item != null)
            {
                return(item.Value);
            }
            return(string.Empty);
        }
Beispiel #2
0
 public void LoadDBDictionary()
 {
     SystemDictionaries.AddRange(Db.Queryable <SystemDictionary>().ToList());
 }