public static void SaveConfig(DynamicConfig config)
 {
     Instance = config;
     using (var db = new ZkDataContext())
     {
         config.Key             = 1;
         db.Entry(config).State = EntityState.Modified;
         db.SaveChanges();
     }
 }