public VgiDatoCollection FetchByQuery(Query qry) { VgiDatoCollection coll = new VgiDatoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public VgiDatoCollection FetchAll() { VgiDatoCollection coll = new VgiDatoCollection(); Query qry = new Query(VgiDato.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public VgiDatoCollection FetchByID(object IdVGIDato) { VgiDatoCollection coll = new VgiDatoCollection().Where("idVGIDato", IdVGIDato).Load(); return(coll); }