public ConConsultumCollection FetchByQuery(Query qry) { ConConsultumCollection coll = new ConConsultumCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ConConsultumCollection FetchAll() { ConConsultumCollection coll = new ConConsultumCollection(); Query qry = new Query(ConConsultum.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ConConsultumCollection FetchByID(object IdConsulta) { ConConsultumCollection coll = new ConConsultumCollection().Where("idConsulta", IdConsulta).Load(); return(coll); }