Exemple #1
0
        public PnSubirArchivoCollection FetchByQuery(Query qry)
        {
            PnSubirArchivoCollection coll = new PnSubirArchivoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public PnSubirArchivoCollection FetchAll()
        {
            PnSubirArchivoCollection coll = new PnSubirArchivoCollection();
            Query qry = new Query(PnSubirArchivo.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public PnSubirArchivoCollection FetchByID(object Id)
        {
            PnSubirArchivoCollection coll = new PnSubirArchivoCollection().Where("id", Id).Load();

            return(coll);
        }