示例#1
0
        public EmrRegistroCollection FetchByQuery(Query qry)
        {
            EmrRegistroCollection coll = new EmrRegistroCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public EmrRegistroCollection FetchAll()
        {
            EmrRegistroCollection coll = new EmrRegistroCollection();
            Query qry = new Query(EmrRegistro.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#3
0
        public EmrRegistroCollection FetchByID(object IdEmr)
        {
            EmrRegistroCollection coll = new EmrRegistroCollection().Where("idEmr", IdEmr).Load();

            return(coll);
        }