A
Andrus
I need to update natural primary key like
Territories.TerritoryID column in northwind database.
In pure ADO .NET this is easy. I can use ExecScalar to run UPDATE command
on primary key.
Server referential integrity causes cascade updates automatically.
I read from MSDN that Linq-SQL does not allow to update object ids.
Any idea how to perform this in DLinq ?
Andrus.
Territories.TerritoryID column in northwind database.
In pure ADO .NET this is easy. I can use ExecScalar to run UPDATE command
on primary key.
Server referential integrity causes cascade updates automatically.
I read from MSDN that Linq-SQL does not allow to update object ids.
Any idea how to perform this in DLinq ?
Andrus.