Esempio n. 1
0
        public Kv(KvType type)
        {
            if (type == KvType.Web)
            {
                DataTable = UData.ToTable2("Kv", "k", "v");
            }
            else
            {
                string path = GetFilePath(type);

                DataTable = UData.LoadDataTable5(path);
            }
        }
Esempio n. 2
0
 public static string GetFilePath(KvType type)
 {
     return(Ap.FolderDataKv + type.ToString() + ".icx");
 }
Esempio n. 3
0
 public static Kv Instance(KvType type)
 {
     return(new Kv(type));
 }