generate xsd file form stored procedure

  • Thread starter Thread starter Vicky
  • Start date Start date
V

Vicky

How can we genrate a xsd from a stored procedure in VS.net.
Is any way by which dataset code is autogenerated for a specific stored
procedure.
 
There is no autogen tool, if that is what you are asking. There may be a
third party tool, or you could create your own.

You can query the parameters and send in bogus information to create a
DataSet and create the XSD file using WriteXmlSchema(). This would work for
code gen.

You can also create the routine that gets the DataSet and simply write out
the XSD using WriteXmlSchema().

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top