Saturday, February 14, 2009
I’ve been working on a project that uses OpenAccess ORM as the persistence layer between my app and the database. Since the app is going to be used on both web and client platforms I wanted to add a services layer to serve up the data. Turns out it’s pretty easy to do. So I’ll walk you through a quick demo of how to hook OpenAccess up to WCF services and then consume the data with a RadGrid.
Set up the project structure
First, create a class library project called Data to hold the data access code. This is where you’ll use OpenAccess to...