By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,578 Members | 1,607 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,578 IT Pros & Developers. It's quick & easy.

XSD annotations with typed datasets

P: n/a
I was heartened to discover the ability to (partially) control the
generation of a typed dataset from a schema [for those who do not know
of this, please see
http://msdn2.microsoft.com/library/w...s,vs.80).aspx].

I have, however, had no success with applying the technique to attribute
values (it does have an effect: instead of getting a name to nameColumn
mapping, you get a typedName to typedNameColumn mapping). is there
another codegen annotation that I can apply to obtain the desired
behavior (all links that I have found on this topic essentially ape the
microsoft article).

also, the namespace declaration
xmlns:codegen="urn:schemas-microsoft-com:xml-msprop" doesn't resolve on
my system (not that it needs to), but I would be very interested in
seeing what else is in there -- does anyone know where it can be
obtained?

Cheers.
---
http://code.box.sk
nemo me impune lacessit

*** Sent via Developersdex http://www.developersdex.com ***
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
CJ,

A dataset is limited to the possibilitiest from an current time by SQL
script managed relational database.

That are in my opinion (I have seen better in past) very limited databases.

Therefore a dataset can only hold three deep data or create again seperate
tables which can be set related to a parent one the levels are.

the datatables from the dataset (elements)
the rows from the datatables (elements)
the one dimensional items from the rows.(elements)

This is exactly as a by SQL managed datatabase

It was one of my biggest deceptions when I started with the dataset to be
confrontated with this. Do you really want to use all benefits from XML than
you would have to use the XMLdoc or the text/node reader.

Just my thought,

Cor
Nov 21 '05 #2

P: n/a
Wrong return and one word to much.

Therefore a dataset can only hold three deep data or create again seperate
tables, which can be set related to a parent.

The levels are.

Nov 21 '05 #3

P: n/a
I have noticed an element-centric attitude in SELECT...FOR XML scripts
in an SQL Server Database. It never occurred to me that the codegen
issue would be related, but it stands to reason...

any ideas on where to obtain the codegen schema itself? it would help
when validating in VS and would (probably) be informative...

Cheers.
---
http://code.box.sk
nemo me impune lacessit

*** Sent via Developersdex http://www.developersdex.com ***
Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.