Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 5th, 2006, 06:45 PM
olrt
Guest
 
Posts: n/a
Default Typed dataset generation with XSD and CategoryAttribute

Hello,

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 {
get()...
set()...
}


Am I dreaming or is it possible ??

Thanks for your answers.
Olivier.

 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles