move page method to DbAccess/Query.