Geeks With Blogs

News
Georgiy Grigorenko Entity Framework
Entity Framework - My Code First Expirience
Recently I used Entity Framework 4.1 with Code First approach and step on a hidden rake. My application should create an SQL Server CE database file using supplied model classes. I created some model classes, one of the classes was declared as namespace MyProject.Models { public class Object { public int Id {get; set;} public String Name {get; set;} } } Then, I tried to declare property of DbSet<MyProject.Models.O... type in my class derived from DbContext: namespace MyProject.Models { public ......

Posted On Tuesday, August 30, 2011 9:20 PM

Copyright © Silverlight | Powered by: GeeksWithBlogs.net