I added function in ezobjectrelationtype