Example #1
0
        public TblHislisPatientCollection FetchByQuery(Query qry)
        {
            TblHislisPatientCollection coll = new TblHislisPatientCollection();

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

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

            return(coll);
        }