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

            return(coll);
        }