L
lennert.acke
Hi,
I defined an XML Schema and got a DataSet out of it. In the Schema,
there were primary keys and relations defined and displayed correctly
in VS.NET.
However, I noticed that .NET disregards the primary keys and adds it's
own as well. It does not enforce uniqueness on the primary keys I
defined, nor does it respects the relationships defined on them.
Instead it adds it's own primary keys in the form of 'DataTableName_Id'
and uses that to build the relation.
My data requires the use of my own primary keys. How can I tell .NET to
use mine ??
Any help appreciated.
I defined an XML Schema and got a DataSet out of it. In the Schema,
there were primary keys and relations defined and displayed correctly
in VS.NET.
However, I noticed that .NET disregards the primary keys and adds it's
own as well. It does not enforce uniqueness on the primary keys I
defined, nor does it respects the relationships defined on them.
Instead it adds it's own primary keys in the form of 'DataTableName_Id'
and uses that to build the relation.
My data requires the use of my own primary keys. How can I tell .NET to
use mine ??
Any help appreciated.