I’ve been using WCF RIA-Services to pass data retrieved via Stored Procedure/EF 4 to a Silverlight 4 application. The system is based on an existing system and a lot of the legwork is already done in Stored Procedures so I was required to re-use them. To start with, I imported my stored procedures to my [...]
Posts Tagged ‘Entity Framework’
Stored Procedures with Entity Framework 4 and RIA Services
Posted: 1st October 2010 by thegrayzone in DevelopmentTags: C#, Entity Framework, WCF RIA Services
5
Abstract class to dynamically alter EntityFramework Domain Service connection
Posted: 24th June 2010 by thegrayzone in DevelopmentTags: C#, Entity Framework, reflection, WCF RIA Services
In my previous post I wrote about overriding the LinqToEntitiesDomainService.CreateObjectContext() method to dynamically set the connection string for the used by the domain service. I realised that I would be using this in a couple of different services in my current project and potentially use it in the future so I wrote a generic abstract [...]
Dynamically alter EntityFramework ConnectionString in Domain Service
Posted: 8th June 2010 by thegrayzone in DevelopmentTags: Entity Framework, Silverlight, WCF RIA Services
The Problem One of the requirements for a Silverlight 4/WCF RIA Service application that I am working on is that the connection string is stored encrypted within the web.config file. This left me with the problem that I would need to somehow unencrypt the connection string and manually set it before any database interaction was [...]