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

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

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

            return(coll);
        }