An excellent suggestion was raised from my last post (thanks Marcus), which is to make the Linq DataContext a property on the LinqGrid.
This way the LinqRow can access it via it's parent, rather than via the singleton (which is bad practice in my book).
I've put all this code in a solution (includes sample database and all), so I'll let the code speak for itself.
Download Sample Solution
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment