Does anyone have an idea how I could add extra column information, like a
second "name" property, to a typed dataset?

I'm working on a mechanism to log changes made to a dataset, by looping
through each table, calling GetChanges(), and then looping through each
column and logging when a change has been made to that column's data.
However, I would like to provide a more user-friendly name for the columns
(a string would suffice).

Given a column description like:
<xs:element name="id_customer" type="xs:int" />

I would like to change it to (for example)
<xs:element name="id_customer" friendlyname="The customer's unique
identification number" type="xs:int" />

But I get a compiler error: "The 'friendlyname' attribute is not supported
in this context."

Any ideas (both localizable and non-localizable welcome)?

Bar


Bar Zecharya
Marine Resources Division (FIRM)
Fishery Department
Food and Agriculture Organization of the United Nations
Viale delle Terme di Caracalla 00100 Rome Italy

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to