コード例 #1
0
        public PnAgenteInscriptorCollection FetchByQuery(Query qry)
        {
            PnAgenteInscriptorCollection coll = new PnAgenteInscriptorCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public PnAgenteInscriptorCollection FetchAll()
        {
            PnAgenteInscriptorCollection coll = new PnAgenteInscriptorCollection();
            Query qry = new Query(PnAgenteInscriptor.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public PnAgenteInscriptorCollection FetchByID(object IdAgenteInscriptor)
        {
            PnAgenteInscriptorCollection coll = new PnAgenteInscriptorCollection().Where("id_agente_inscriptor", IdAgenteInscriptor).Load();

            return(coll);
        }