title: how to compare full databases in c#
body: <p>I have 2 SQL databases and I want to compare each and everything in it like no of tables, views, stored procedures, columns, primary keys etc. How do I do that programmatically, using C#?</p>