コード例 #1
0
        public OdoProgramaCollection FetchByQuery(Query qry)
        {
            OdoProgramaCollection coll = new OdoProgramaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public OdoProgramaCollection FetchAll()
        {
            OdoProgramaCollection coll = new OdoProgramaCollection();
            Query qry = new Query(OdoPrograma.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public OdoProgramaCollection FetchByID(object IdProgramaOdontologia)
        {
            OdoProgramaCollection coll = new OdoProgramaCollection().Where("idProgramaOdontologia", IdProgramaOdontologia).Load();

            return(coll);
        }