Geeks With Blogs

Georgiy Grigorenko August 2011 Entries
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: