Ejemplo n.º 1
0
        public PnNomencladorCollection FetchByQuery(Query qry)
        {
            PnNomencladorCollection coll = new PnNomencladorCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public PnNomencladorCollection FetchAll()
        {
            PnNomencladorCollection coll = new PnNomencladorCollection();
            Query qry = new Query(PnNomenclador.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 3
0
        public PnNomencladorCollection FetchByID(object IdNomenclador)
        {
            PnNomencladorCollection coll = new PnNomencladorCollection().Where("id_nomenclador", IdNomenclador).Load();

            return(coll);
        }