Пример #1
0
        public PnMotivoDCollection FetchByQuery(Query qry)
        {
            PnMotivoDCollection coll = new PnMotivoDCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public PnMotivoDCollection FetchAll()
        {
            PnMotivoDCollection coll = new PnMotivoDCollection();
            Query qry = new Query(PnMotivoD.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public PnMotivoDCollection FetchByID(object IdMotivoD)
        {
            PnMotivoDCollection coll = new PnMotivoDCollection().Where("id_motivo_d", IdMotivoD).Load();

            return(coll);
        }