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

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

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

            return(coll);
        }