/// <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())); }
/// <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)); }