예제 #1
0
파일: TableInfo.cs 프로젝트: forbjok/SqlFu
 public static TableInfo ForType(Type t)
 {
     TableInfo ti = null;
     if (!_cache.TryGetValue(t, out ti))
     {
         ti = new TableInfo(t);
         _cache.TryAdd(t, ti);
     }
     return ti;
 }
예제 #2
0
 public SchemaFromType(Type tp)
 {
     _tp = tp;
     _ti = TableInfo.ForType(_tp);
 }