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

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

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

            return(coll);
        }