Still stuck on DataRelation names

  • Thread starter Thread starter Jeff Higgins
  • Start date Start date
J

Jeff Higgins

Hi,
I've created an xml instance document named "test.xml" and from that created
an associated schema document named "test.xsd". I have used the schema
designer to add three primary keys and two relations. I have named the
relations "RelationDocumentItems" and "RelationItemsItem". When I create a
DataSet in code using ReadXml("test.xml") and then read the names of the
relations in DataSet.Relations I get "TestDocument_TestItems" and
"TestItems_TestItem" rather than the expected "RelationDocumentItems" and
"RelationItemsItem" ( my expectation). Can someone please help me understand
where my names went?

Thanks
Jeff Higgins
 
Thank you, Addison Wesley Professional and Shawn Wildermuth

for the sample chapter titled Typed DataSets in ADO.NET
from your book titled Pragmatic ADO.NET: Data Access for the Internet World
ISBN: 0201745682

located at:

http://www.awprofessional.com/articles/article.asp?p=30593


Thank you,

Addison Wesley Professional and Bob Beauchemin

for the sample chapter titled Essential ADO.NET: XML and Data Access
Integration
from your book titled Essential ADO.NET ISBN: 0201758660

and located at:

http://www.awprofessional.com/articles/article.asp?p=29901
 
Back
Top