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