Пример #1
0
 public static void CloseReader(IDataReader reader)
 {
     CurrentSession.GetSessionImplementation().Batcher.CloseReader(reader);
 }
Пример #2
0
 public static IDataReader ExecuteReader(string sql)
 {
     return(CurrentSession.GetSessionImplementation().Batcher.ExecuteReader(new SqlCommand(sql)));
 }