How can we add objects to object repository during run time?

Note : This is the question asked by a visitor thirupathi. I am posting this in proper forum.