M
Martin Rydman
Hi!
The typed dataset supports cascading updates. SQL-server supports cascading
updates. I can drag tables from the server explorer (from a SQL-server
database
with FK constraints and cascading updates defined) on to a component
designer
and then generate a typed dataset. As far as I can tell, there's no way to
have the Typed Dataset Wizard create cascading updates (or FK constraints,
for that matter) automatically in the typed dataset. Am I right? (Obviously
I hope I'm wrong...)
If I'm right, can I turn my point of view 180 degrees, and use the dataset
designer (which supports both FK constraints and cascading updates) and use
the resulting schema to generate SQL-server tables, complete with
constraints
and cascades?
My whole aim here is to only have to update *one* structure (either
SQL-server
database structure or Dataset schema) and then have the other one
automatically
created for me.
Any hints appreciated!
TIA
/Martin
The typed dataset supports cascading updates. SQL-server supports cascading
updates. I can drag tables from the server explorer (from a SQL-server
database
with FK constraints and cascading updates defined) on to a component
designer
and then generate a typed dataset. As far as I can tell, there's no way to
have the Typed Dataset Wizard create cascading updates (or FK constraints,
for that matter) automatically in the typed dataset. Am I right? (Obviously
I hope I'm wrong...)
If I'm right, can I turn my point of view 180 degrees, and use the dataset
designer (which supports both FK constraints and cascading updates) and use
the resulting schema to generate SQL-server tables, complete with
constraints
and cascades?
My whole aim here is to only have to update *one* structure (either
SQL-server
database structure or Dataset schema) and then have the other one
automatically
created for me.
Any hints appreciated!
TIA
/Martin