Esempio n. 1
0
        public ConConsultaOdontologiumCollection FetchByQuery(Query qry)
        {
            ConConsultaOdontologiumCollection coll = new ConConsultaOdontologiumCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public ConConsultaOdontologiumCollection FetchAll()
        {
            ConConsultaOdontologiumCollection coll = new ConConsultaOdontologiumCollection();
            Query qry = new Query(ConConsultaOdontologium.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public ConConsultaOdontologiumCollection FetchByID(object IdConsultaOdontologia)
        {
            ConConsultaOdontologiumCollection coll = new ConConsultaOdontologiumCollection().Where("idConsultaOdontologia", IdConsultaOdontologia).Load();

            return(coll);
        }