471,123 Members | 873 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,123 software developers and data experts.

Typed dataset generation with XSD and CategoryAttribute


The xsd tool is a cool tool because it generates code from a dataset
schema definition and particularly, it generates a property from a
column :
for example column named ID in the datatable definition will produce a
ID property in generated code.

What I would like is to add a categoryattribute to the generated code
for ID property :

let's say ID belongs to the Category named "Technical data" : so I will
specify the category attribute in the XSD file : <xs:element name="ID"
category="Technical data" ...>

Now the xsd tool would generate code like :
[Category("Technical data")]
public string ID {
Am I dreaming or is it possible ??

Thanks for your answers.

Aug 5 '06 #1
0 743

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Rafael Veronezi | last post: by
3 posts views Thread by Freeon | last post: by
21 posts views Thread by Peter Bradley | last post: by
2 posts views Thread by =?Utf-8?B?U3dhcHB5?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.