http://chinookdatabase.codeplex.com/ – installed database in .\SQLEXPRESS
From Silverlight, Create Silverlight Business Application
User.shared.cs – shared code!
Create EF Model in Web
Did EF get the FK associations?
adding domain service to WebApp
http://support.microsoft.com/kb/2745294 - Workaround to get away from DbContext default back to ObjectContext
and then Entity Framework Profiler:
Initialising the profiler in the Domain Service.. could have been anywhere.
Adding System.Windows.Controls.DomainServices to the SL project
Add a namespace reference in XAML called ds
Add DomainDataSource – allow us to bind to our domain data context
Add my: namespace…MusicStoreManager.Web
**Got up to pagination at 28:28
Pagination of Data
Each sort spits out a different query
SQL is top30 etc.. not hand crafted.
Seemed to be working, then I got this error.
Just forcing an orderby before a skip.
In RIA Services – often can be dealing with Data in memory ie if we go back to the page 1.. wont hit the database again.