Exemplo n.º 1
0
        public TblHislisPatientCollection FetchByQuery(Query qry)
        {
            TblHislisPatientCollection coll = new TblHislisPatientCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public TblHislisPatientCollection FetchAll()
        {
            TblHislisPatientCollection coll = new TblHislisPatientCollection();
            Query qry = new Query(TblHislisPatient.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public TblHislisPatientCollection FetchByID(object Id)
        {
            TblHislisPatientCollection coll = new TblHislisPatientCollection().Where("ID", Id).Load();

            return(coll);
        }