“Read-Only” Entity Framework? I'm trying to use RIA Services, EF, and Silverlight
问题 I'm trying to present MySQL server data in a silverlight client and my current plan of attack is to use Entity Framework to MySQL with RIA Services providing the data access between the Silverlight Client and Entity Framework. However, I'm only trying to present data to the user and I do not want the possibility of me or someone else being able to change the data in MySQL. In short, I wish there was a way to simply ignore the setters for all entity types. I only want getters. I want "read