By Don Burnett
Ronnie Saurenmann and the Swiss Team has put together another great video that talks about working with SQL databases from Silverlight. This one shows you how to do Inserts, Updates, and Deletes with optimistic locking. One of the difficult things about this approach is that LINQ to SQL does not offer client side change tracking out of the box so you need to implement your own. While watching the video remember that it's just one one approach to change tracking in multi tier architecture with LINQ to SQL. This example only works with tables with Primary Key as single column and works with timestamps or original values.
No comments:
Post a Comment