private Xoud_site_row new_row(Db_rdr rdr) { return new Xoud_site_row( rdr.Read_int(fld_site_id), rdr.Read_int(fld_site_priority), rdr.Read_str(fld_site_domain), rdr.Read_str(fld_site_name), rdr.Read_str(fld_site_path), rdr.Read_str(fld_site_xtn)); }
public Xoud_site_row[] Select_all() { List_adp rv = List_adp_.new_(); Db_rdr rdr = conn.Stmt_select(tbl_name, flds).Exec_select__rls_auto(); try { while (rdr.Move_next()) rv.Add(new_row(rdr)); return (Xoud_site_row[]) rv.To_ary_and_clear(Xoud_site_row.class); } finally { rdr.Rls(); } }