0

Im looking for ways to create data tables in mssql using a XML Schema file to specify the relationships/datatypes (for c#?).

Currently I know I can use the SQLXMLBulkLoadLib.

Also right now I am exploring the dataset.writexmlschema/dataset.readxmlschema, but I don't know very much on how this works for nested elements

Are there any other methods?

1 Answer 1

1

Probably you can import xml schema into DataSet, and then recreate database structure using SQL Server Management Objects. There is an article on codeproject containing some samples on how to do this.

Sign up to request clarification or add additional context in comments.

1 Comment

Yea I know about importing xml schema to dataset, but this does not seem to allow for me to nest multiple xml elements. It just doesn't seem to be flexible enough.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.