示例#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);
        }