I want to provide legacy .net code through WCF data services. But without using the Entity Framework anywhere. Basically, I now populate all my db models once every X hours and dump these models into the cache. Current web services retrieve all the information from this cache. Now I need to convert all this to WCF data services, primarily to support the OData protocol.
What is the easiest and fastest way out (again, without an entity frame)
The following is an example of what my model looks like:
public class Country { public string CountryCode {get; set;} public string CountryName {get; set;} public List<State> ListOfStates {get; set;} } public class State { public string StateCode {get; set;} public string StateName {get; set;} }
Thanks in advance.
source share