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

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

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