示例#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)));
 }