Example #1
0
 private static ORM GetInstance()
 {
     if (instance != null)
     {
         return(instance);
     }
     else
     {
         return(instance = new ORM());
     }
 }
Example #2
0
 public static IEnumerable <T> Map <T>(this IDataReader idr) where T : class, new()
 {
     return(ORM.Map <T>(idr));
 }
Example #3
0
 public static IEnumerable <T> Map <T>(IDataReader idr) where T : class, new()
 {
     return(ORM.GetInstance().MapResolved <T>(idr));
 }