public VgiCriterioCollection FetchByQuery(Query qry) { VgiCriterioCollection coll = new VgiCriterioCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public VgiCriterioCollection FetchAll() { VgiCriterioCollection coll = new VgiCriterioCollection(); Query qry = new Query(VgiCriterio.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public VgiCriterioCollection FetchByID(object IdVGICriterios) { VgiCriterioCollection coll = new VgiCriterioCollection().Where("idVGICriterios", IdVGICriterios).Load(); return(coll); }