Пример #1
0
        public SysReportCollection FetchByQuery(Query qry)
        {
            SysReportCollection coll = new SysReportCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public SysReportCollection FetchAll()
        {
            SysReportCollection coll = new SysReportCollection();
            Query qry = new Query(SysReport.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public SysReportCollection FetchByID(object MaBaocao)
        {
            SysReportCollection coll = new SysReportCollection().Where("ma_baocao", MaBaocao).Load();

            return(coll);
        }