public AutModeloCollection FetchByQuery(Query qry) { AutModeloCollection coll = new AutModeloCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AutModeloCollection FetchAll() { AutModeloCollection coll = new AutModeloCollection(); Query qry = new Query(AutModelo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AutModeloCollection FetchByID(object IdModelo) { AutModeloCollection coll = new AutModeloCollection().Where("idModelo", IdModelo).Load(); return(coll); }