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);
        }
Example #3
0
        public MamMotivoCollection FetchByID(object IdMotivo)
        {
            MamMotivoCollection coll = new MamMotivoCollection().Where("idMotivo", IdMotivo).Load();

            return(coll);
        }