Learning Curve…

What is ADO.NET Entity Framework (EF) ?

Posted on: December 1, 2011

With the ADO.NET Entity Framework (EF), you take a bunch of database objects like tables and turn them into .NET objects that you can access in your code. You can then use these objects in queries or use them directly in data-binding scenarios. EF also enables you to do the reverse: design an object model first and then let EF create the necessary database structure for you.
Working with EF is pretty easy and quite flexible. Using a diagram designer, you drag and drop objects like tables from your database into your Entity model. The objects you drop on the diagram become available as objects. For example, if you drop the TableXYZ table on the diagram, you end up with a strongly typed TableXYZ class. You can create instances of this class using LINQ queries and
other means.

When you drop more than one related database table on your diagram, the designer detects the relationships between the tables and then replicates these relationships in your object model.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Learning days (Calendar)

December 2011
M T W T F S S
« Nov   Jan »
 1234
567891011
12131415161718
19202122232425
262728293031  

Knowledge Bank (Archives)

I am on Twitter

Blog Stats

  • 498,754 hits

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 43 other followers

%d bloggers like this: