예제 #1
0
 public static bool ExistsColumn(Data_Source link, string table)
 {
     return(CacheDb.Exists(GetColumnKey(link, table)));
 }
예제 #2
0
 //列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>());
 }
예제 #3
0
 public static void SetColumnList(List <Cache_Column> item, Data_Source link, string table)
 {
     CacheDb.Set <List <Cache_Column> >(GetColumnKey(link, table), item);
 }
예제 #4
0
 public static bool ExistsTable(Data_Source link)
 {
     return(CacheDb.Exists(GetTableKey(link)));
 }
예제 #5
0
 public static void SetTableList(List <Cache_Table> item, Data_Source link)
 {
     CacheDb.Set <List <Cache_Table> >(GetTableKey(link), item);
 }
예제 #6
0
 //表list
 public static List <Cache_Table> GetTableList(Data_Source link)
 {
     return(CacheDb.Get <List <Cache_Table> >(GetTableKey(link)) ?? new List <Cache_Table>());
 }
예제 #7
0
 public static void RemoveLink()
 {
     CacheDb.Remove("Link");
 }
예제 #8
0
 public static void SetLink(Data_Source item)
 {
     CacheDb.Set <Data_Source>("Link", item);
 }