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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }