public static bool ExistsColumn(Data_Source link, string table) { return(CacheDb.Exists(GetColumnKey(link, table))); }
//列list public static List <Cache_Column> GetColumnList(Data_Source link, string table) { return(CacheDb.Get <List <Cache_Column> >(GetColumnKey(link, table)) ?? new List <Cache_Column>()); }
public static void SetColumnList(List <Cache_Column> item, Data_Source link, string table) { CacheDb.Set <List <Cache_Column> >(GetColumnKey(link, table), item); }
public static bool ExistsTable(Data_Source link) { return(CacheDb.Exists(GetTableKey(link))); }
public static void SetTableList(List <Cache_Table> item, Data_Source link) { CacheDb.Set <List <Cache_Table> >(GetTableKey(link), item); }
//表list public static List <Cache_Table> GetTableList(Data_Source link) { return(CacheDb.Get <List <Cache_Table> >(GetTableKey(link)) ?? new List <Cache_Table>()); }
public static void RemoveLink() { CacheDb.Remove("Link"); }
public static void SetLink(Data_Source item) { CacheDb.Set <Data_Source>("Link", item); }