I’ve been building a Silverlight 5.0 application, and have most of the UI completed. Now I want to move to the server side, and as data comes in, add business rules that I would only like to be on the server. I realize that I could put stored procedures (include CLR Stored Procedures) into EF, but that does “feel” right, as I would like my EF to be solely dedicated to data retrieveal and maintenance of data from the UI. Arguments for or against?
Would appreciate any refernce to articles where to integrat server side logic when using EF and WCF RIA Services.
There are probably a lot of great examples out there, but I know the one I hooked to this post on unit testing has some clearly laid out business logic.
The general answer to your question is just to add logic directly to the operation. For example,