public VgiMentalCollection FetchByQuery(Query qry) { VgiMentalCollection coll = new VgiMentalCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public VgiMentalCollection FetchAll() { VgiMentalCollection coll = new VgiMentalCollection(); Query qry = new Query(VgiMental.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public VgiMentalCollection FetchByID(object IdVGIMental) { VgiMentalCollection coll = new VgiMentalCollection().Where("idVGIMental", IdVGIMental).Load(); return(coll); }