EF Code-First is a way of using Microsoft's Entity Framework with POCO classes, as opposed to model-first or DB-first.
I am using the Generic Repository pattern on top of Entity Framework Code First. Everything was working fine until I …
c# entity-framework entity-framework-4 repository-pattern ef-code-firstI'm new to Entity Framework. I am trying to setup an MVC Application what uses EF 6. I am using Code …
asp.net-mvc entity-framework ef-code-first entity-framework-migrationsI'm working with the Code First feature of Entity Framework and I'm trying to figure out how I can specify …
c# entity-framework ef-code-first sql-server-ce data-annotationsI have the situation where I'm initializing my model in DatabaseInitializer() for EF 4.1 and get this annoying error "Validation failed …
.net entity-framework entity-framework-4.1 ef-code-firstI am trying to figure out how to have a composite key using EF code First 4.1 RC. Currently, I am …
ef-code-first composite-key entity-framework-4.1I've followed MSDN on how to handle enumerations in Code First for EF6. It worked, as supposed to but the …
c# entity-framework enums ef-code-first entity-framework-6I have two entities in my MVC application and I populated the database with Entity Framework 6 Code First approach. There …
asp.net-mvc entity-framework ef-code-first foreign-keys foreign-key-relationshipI'm trying to write some code that allows me to switch between SQLCE (locally on my dev machine) and full …
sql-server asp.net-mvc entity-framework ef-code-firstHow do I tell EF what to name the database and where to put it? If there is no connection …
entity-framework-4 ef-code-firstI'm attempting to do the following: public class class1 { public int Id {get;set;} [ForeignKey("Class2")] public int Class2Id {…
c# database entity-framework ef-code-first entity-framework-6