I am continuing to build my sample application and in this post I talk about what data code I wrote and where to put it. I cover scenarios such as calculating the total price for a course based on attendees and price, retrieving the price when the user selects a course for a new order and validating that sales reps can’t discount courses by more than 20%. There’s others as well, but I don’t want to give it away here. You’ll have to go read the blog. Smile Also, I show all code in both VB and C#.

Check it out and let me know what you think: Where Do I Put My Data Code In A LightSwitch Application? Also, let me know what additional scenarios you’d like to explore.

Robert Green, Technical Evangelist