SQL Dump for MS SQL Server
If you need to get SQL Dump from your MS SQL Database, you can use this assembly SQLDumper.dll
Here is the usage sample :
using SQLDumper;
...
IDbConnection conn = GetConnectionFromSomewhere();
TSqlDump dump = new TSqlDump(conn);
string content = dump.GetSqlDump(true);
and you get your dump in content variable :)