예제 #1
0
        public KnDangkyXnCollection FetchByQuery(Query qry)
        {
            KnDangkyXnCollection coll = new KnDangkyXnCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public KnDangkyXnCollection FetchAll()
        {
            KnDangkyXnCollection coll = new KnDangkyXnCollection();
            Query qry = new Query(KnDangkyXn.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public KnDangkyXnCollection FetchByID(object MaDangky)
        {
            KnDangkyXnCollection coll = new KnDangkyXnCollection().Where("ma_dangky", MaDangky).Load();

            return(coll);
        }