示例#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);
        }
示例#3
0
        public PnExpedienteCollection FetchByID(object IdExpediente)
        {
            PnExpedienteCollection coll = new PnExpedienteCollection().Where("id_expediente", IdExpediente).Load();

            return(coll);
        }