Esempio n. 1
0
        public SysTrinhkyCollection FetchByQuery(Query qry)
        {
            SysTrinhkyCollection coll = new SysTrinhkyCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public SysTrinhkyCollection FetchAll()
        {
            SysTrinhkyCollection coll = new SysTrinhkyCollection();
            Query qry = new Query(SysTrinhky.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public SysTrinhkyCollection FetchByID(object ReportName)
        {
            SysTrinhkyCollection coll = new SysTrinhkyCollection().Where("ReportName", ReportName).Load();

            return(coll);
        }