entity.AccessCode==undefined