I need a solution for an enterprise environment with 100s of applications and SQL databases. A current architecture standard requires that all applications implement DALs using SPROCs. One reason for this is that, when performing ongoing migration, obsolescing or modifications to databases, dependency graphs between these SPROCs and database objects (including dependencies to objects on linked servers) indicate what applications will be impacted by migrating or removing a database.
If one were to change the architectural standard to allow ORMs (e.g. LLBLGen, Entity Framework v4, ...), producing dependency graphs this way would not be possible anymore.
Any ideas on how we can produce dependency graphs between DALs implemented in .NET and DB objects? The solution needs to work statically (i.e. mustn't rely on 'mionitoring' db access during runtime).
I can imagine that the solution might be product/technology specific in which case assume LLBLGen for the DAL and SQL Server for the database.