By tag: entity-framework
0
kicks
Code First Entity Framework with MVC4 and Visual Studio 2012
We spend 99% of our time working WITH projects and not setting them up; sometimes, we may need a little reminder. This is a quick, bare-bones guide (and a downloadable graphic guide) to remind us of the steps involved in setting up a code first entity framework MVC4 application (with a simple model ...
0
kicks
Seeding a Database in Entity Framework
The code-first approach of Entity Framework creates the database in LocalDB instance of SQL Server Express. The Entity Framework uses the model’s property names and data types to create the tables.Entity Framework uses EdmMetadata table to synchronize model classes with the database schema. To keep ...
0
kicks
A brief Entity Framework Codebase Overview
There isn't a single article that gave an overview of what's going on inside the Entity Framework project so I'm hoping to give some objective insight on what I found and point out some of the more interesting things along the way. Solution Overview (As of commit a88645f8581c) Visual Studio 2012 Lan...
0
kicks
EF Code First and WPF with the Chinook database. Part 1 – the model
Using Entity Framework Code First to connect to an existing database
0
kicks
[Entity Framework] Using Include with lambda expressions
This article describes a technique to use lambda expressions rather than strings with the ObjectQuery.Include method to eagerly load associated entities.
0
kicks
Using a GUID as an EntityKey in Entity Framework 4
Do you have tables that use GUIDs (columns of type uniqueidentifier ) as primary keys in SQL Server? This scenario is now fully supported in Entity Framework 4, as long as you remember one little gotcha.