예제 #1
0
        public PnExpedienteCollection FetchByQuery(Query qry)
        {
            PnExpedienteCollection coll = new PnExpedienteCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public PnExpedienteCollection FetchAll()
        {
            PnExpedienteCollection coll = new PnExpedienteCollection();
            Query qry = new Query(PnExpediente.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }