示例#1
0
 /// <summary>
 /// Convert the whole ResultSet into a List of Entities with
 /// the Type given in the constructor.
 /// </summary>
 /// <param name="rs">The ResultSet to handle.</param>
 /// <returns>A List of entities</returns>
 public IList <T> Handle(DbDataReader rs)
 {
     return(processor.ToBeanList <T>(rs, this.entType.GetType()));
 }
示例#2
0
 /// <summary>
 /// Convert the whole ResultSet into a List of bean-style objects with
 /// the Type given in the constructor.
 /// </summary>
 /// <param name="rs">The ResultSet to handle.</param>
 /// <returns>A List of bean-style objects</returns>
 public IList <T> Handle(DbDataReader rs)
 {
     return(processor.ToBeanList <T>(rs, type));
 }