Type dataset, enumeration and xsd.exe

E

ewild

Hey all,
I am trying to write a webservice that passes a dataset that
truely represents my data, and creates constraints on what I will
recieve back.
With all my strings I built a max lenght using the simpleType,
so I won't get any overflow errors. I also want to create an enum that
represents the types of phone numbers I have. IE Business, Home Cell
ect...
The problem is when I create the class with the xsd.exe, it
creates the length constrains, but it doesn't create a enum from the
schema.
Am I asking too much? is the xsd.exe supposed to create an
enum for the field value?

any ideas?

Eric
 

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