Quantcast
Channel: .Net and SharePoint News » Entity Framework
Browsing all 5 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

EF Code First : Simple sample

You heard about Entity Framework and want to try it. Let’s start with a very simple example. We will create a Console Application, add a class Person and generate the database from this class. Open...

View Article



Series of articles about EF Code First

As I begin to work a lot with Entity Framework Code First, I decide to write some articles to share some samples that could be useful for beginners. Here is how I think to organize it : 1 – First...

View Article

Image may be NSFW.
Clik here to view.

EF Code First : Add foreign key relationship

In the first article, I show how to create a database with one table using Code First. You can read it here : EF Code First : Simple sample Now, we want to add a new table to work with foreign key....

View Article

Tips for Entity Framework Migrations

I just read this post this morning and found it very interesting. Some tips on how to work with EF Migration, what to check, what not to do … Tips for Entity Framework Migrations Maybe some of you can...

View Article

Image may be NSFW.
Clik here to view.

[EF] Code Fluent Configuration file

In my previous post, we saw how to configure Code First database generation with Code Fluent. Here is what we’ve done in the previous post : public class MyContext : DbContext { public...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images