public AutProveedorCollection FetchByQuery(Query qry) { AutProveedorCollection coll = new AutProveedorCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AutProveedorCollection FetchAll() { AutProveedorCollection coll = new AutProveedorCollection(); Query qry = new Query(AutProveedor.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }