darylbewise
Programmer
Hello all,
I’m looking to be able to create a script of a .MDF database (data + schema) automatically using c# code.
What I want to be able to do is create a .sql file of all the data in a .mdf database (exactly what you can do using the “Publish to provider” tool in Visual Studio.
Any ideas on an easy way of achieving this?
I’m looking to be able to create a script of a .MDF database (data + schema) automatically using c# code.
What I want to be able to do is create a .sql file of all the data in a .mdf database (exactly what you can do using the “Publish to provider” tool in Visual Studio.
Any ideas on an easy way of achieving this?