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

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

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

            return(coll);
        }