Example #1
0
        public RisInvestigadoreCollection FetchByQuery(Query qry)
        {
            RisInvestigadoreCollection coll = new RisInvestigadoreCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public RisInvestigadoreCollection FetchAll()
        {
            RisInvestigadoreCollection coll = new RisInvestigadoreCollection();
            Query qry = new Query(RisInvestigadore.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public RisInvestigadoreCollection FetchByID(object IdInvestigador)
        {
            RisInvestigadoreCollection coll = new RisInvestigadoreCollection().Where("idInvestigador", IdInvestigador).Load();

            return(coll);
        }