public InsRubroCollection FetchByQuery(Query qry) { InsRubroCollection coll = new InsRubroCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public InsRubroCollection FetchAll() { InsRubroCollection coll = new InsRubroCollection(); Query qry = new Query(InsRubro.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public InsRubroCollection FetchByID(object IdRubro) { InsRubroCollection coll = new InsRubroCollection().Where("idRubro", IdRubro).Load(); return(coll); }