Hi faisal,
Did you try to set the entity using lr_gdc->Set_entity method? And then you can probably get the entity details using lr_gdc->get_entity at the desired place.
Currently entity is not available because it might not have been set by standard. but anyways you can set it using SET_ENTITY method of GDC.
Thanks
Saurabh kabra