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

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

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

            return(coll);
        }