Example #1
0
 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;
 }
Example #2
0
 public SchemaFromType(Type tp)
 {
     _tp = tp;
     _ti = TableInfo.ForType(_tp);
 }