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

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

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

            return(coll);
        }