Typed dataset and namespaces

M

Magne Ryholt

I can set the properties Namespace and Prefix on datasets, datatables and
datacolumns.
I beleive this is handy in my situation (specially for tables and columns),
however I cannot find any way to set the namespace and prefix properties in
the schema designer.
Of course I may set them by code, but it would be handy as part of the
schema.
Any ideas ?
 
S

Sahil Malik [MVP]

Right click the .xsd file and select properties and set the CustomNamespace
property to what you like. This property value will be appended to the root
namespace, but you can always clear the root namespace in the project
properties.

- Sahil Malik [MVP]
http://codebetter.com/blogs/sahil.malik/
 
M

Magne Ryholt

For clarity, I use VS.net 2003 and ditto framework (SP1)

I don't find CustomNamespace, but of course I find TargetNamespace.
Anyway, i would like to change the namespace for individual elements and
attributes
(just like I can do programatically on DataTable and DataColumns).
 

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

Top