public EmrPrehospitalariumCollection FetchByQuery(Query qry)
        {
            EmrPrehospitalariumCollection coll = new EmrPrehospitalariumCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public EmrPrehospitalariumCollection FetchAll()
        {
            EmrPrehospitalariumCollection coll = new EmrPrehospitalariumCollection();
            Query qry = new Query(EmrPrehospitalarium.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public EmrPrehospitalariumCollection FetchByID(object IdHCPrehospitalaria)
        {
            EmrPrehospitalariumCollection coll = new EmrPrehospitalariumCollection().Where("idHCPrehospitalaria", IdHCPrehospitalaria).Load();

            return(coll);
        }