Example #1
0
        public PnSmiafiliadoCollection FetchByQuery(Query qry)
        {
            PnSmiafiliadoCollection coll = new PnSmiafiliadoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public PnSmiafiliadoCollection FetchAll()
        {
            PnSmiafiliadoCollection coll = new PnSmiafiliadoCollection();
            Query qry = new Query(PnSmiafiliado.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public PnSmiafiliadoCollection FetchByID(object IdSmiafiliados)
        {
            PnSmiafiliadoCollection coll = new PnSmiafiliadoCollection().Where("id_smiafiliados", IdSmiafiliados).Load();

            return(coll);
        }