[client][managed][offline] Made the ExecuteQuery and ExecuteNonQuery method virtual