AndreyAkinshin
AndreyAkinshin

Reputation: 19021

Creating DataBase (mdf) from DataSet

I have a DataSet consistint of a big number of tables of information. Is it possible automaticly create SQL Server DataBase (mdf-file) from description of my DataSet? Of course, I can do it manually, but may be there is a better way?

Upvotes: 1

Views: 1270

Answers (1)

Ann L.
Ann L.

Reputation: 13965

I have a XSLT script that will create DDL statements from a DataSet xsd. It's here. The database itself would have to be created, and you'd have to manually execute the SQL script the XSLT script created. But if you have a complex enough DataSet with enough tables, it might be preferable to doing it all by hand.

Upvotes: 2

Related Questions