I am using entity framework with repository pattern and unit of work objects..
I have an entity Request with properties "RequestId", "OldRequestId", which can be accessed using requestRepository object.
eg: requestRepostiory.GetAll(), requestRepository.GetFiltered(r=> r.Requestid =10)
- If I pass a RequestId, it should retrieve me the specific record.
 - If the OldRequestId is not null in the retrieved record, it should bring the old request data as well.
 - It should go on until the OldRequestId is null.
 
