I want to trace C# code, and I'm not sure of the technical terminology to Google the approach.
Pretend I want to understand which parts of my code depend upon a stored procedure.
Pseudo-code:
- FIND the proc name in visual studio, and get result(s).
- for each result, identify the entity (constant or method) the result occurs in.
- for each entity, follow references (recursively) to tail.
Example:
- FIND "UpsertFoo_spr" (result: string)
- String exists in "FooRepository.Save()"
- "FooRepository.Save()" is called by "FooController.SaveFoo()" and "FooController.ReassignFoo()"
- "FooController.SaveFoo()" is called by "[FooDetails.aspx].Save_OnClick()"
- "FooController.ReassignFoo()" is called by "[FooManager.aspx].Reassign_OnClick()"
If you can just tell me what this is called, I can Google solutions appropriate to my context. Thanks!