Esempio n. 1
0
        public PnMotivoDCollection FetchByQuery(Query qry)
        {
            PnMotivoDCollection coll = new PnMotivoDCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public PnMotivoDCollection FetchAll()
        {
            PnMotivoDCollection coll = new PnMotivoDCollection();
            Query qry = new Query(PnMotivoD.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public PnMotivoDCollection FetchByID(object IdMotivoD)
        {
            PnMotivoDCollection coll = new PnMotivoDCollection().Where("id_motivo_d", IdMotivoD).Load();

            return(coll);
        }