EntityConnection (System.Data.EntityClient.EntityConnection) is the class which provides an abstraction for the connection established by the framework.What exactly we mean by connection established by the framework? A ORM framework stands in between an object model and a data source so it needs to connect to both i.e the model and the data source. When we add [...]
Posts Tagged ‘Entity Framework’
Entity Framework CTP 4.0 – Many To Many Mappings
Posted: October 23, 2010 in .NET, ADO.NET Entity Framework, C#Tags: CTP 4.0, Entity Framework
In my last post I had discussed about entity relationships,navigational properties and how we can fetch data from database into the entities.In this post we will examine the many to many relationships and how this can be modeled using POCO and the CTP 4.0 Code First Approach.We will consider three tables Person,Club and ClubMember where [...]
Entity Framework CTP 4.0 – Data Fetching
Posted: October 17, 2010 in .NET, ADO.NET Entity Framework, C#Tags: CTP 4.0, Entity Framework
In the last two posts I have discussed about Entity Framework CTP 4.0 Code First Approach and Database Initialization.Now we will take a look at how to define relationships and navigational properties between the Entities and how data fetching is impacted by these.
Entity Framework CTP 4.0 – Database Initialization
Posted: October 14, 2010 in .NET, ADO.NET Entity Framework, C#Tags: CTP 4.0, Entity Framework
In the last post we discussed about the basic steps involved in working with the new Entity Framework CTP 4.0 Code First Approach.Now we will take a look at each of these steps in a bit more detail.We will start with database initialization.
Entity Framework CTP 4.0 – Code First Approach
Posted: October 3, 2010 in .NET, ADO.NET Entity Framework, C#Tags: ADO.NET, CTP 4.0, Entity Framework
It has been a month or two that Entity Framework CTP 4.0 bits have released.I had read through the feature list back then but could not manage time to take a detailed look until this weekend.I always felt that Entity Framework’s approach towards handling of configuration(object relational mappings) and plain .NET objects was bit restrictive [...]
Entity Framework & Concurrency
Posted: August 29, 2010 in .NET, ADO.NET Entity FrameworkTags: ADO.NET, Concurrency, Entity Framework
ADO.NET Entity Framework is the Object Relational Mapping(ORM) framework from Microsoft which enables us to map .NET classes to objects(tables,views,stored procedures..etc) in a relational database.While studying any ORM framework it’s important to know about, how it handles concurrency and ensures data consistency.In this post we will look into what options ADO.NET Entity Framework provides for [...]

