DCSIMG
Entity Framework - .NET Geek

.NET Geek

"It is upon the Trunk that a gentleman works" - Confucius

Browse by Tags

All Tags » Entity Framework (RSS)
Entity Framework – Some common hurdles
I just read a post “Entity Framework - Disappointment” where a decision was made to ditch the EF because of some deficiencies. I want to emphasize that I know nothing about that specific project and the point of this post is not by any means to “attack” their approach. It is not my intention to pick on that specific post since I’ve seen similar complaints elsewhere. It did catch my attention though. I started with a comment, but it quickly became too long. My first reaction when I read the list was...
Testable Data Access With The Repository Pattern
In my last post I explored a little about how we use the Entity Framework. One question that comes up a lot is how do you test your services with the data access layer without hitting the database. Not hitting the database during tests is not only a performance issue. Unless you build and tear down your data on every run you have to make sure the test data is consistent. So how do we do it? The first step is to create an in-memory version of the repository. This implementation will keep data in memory...
Data Access With The Entity Framework
A lot has been written about L2S and the Entity Framework over the last few weeks since the announcement that the Microsoft Data Team will focus their efforts on the Entity Framework. A lot has also been written about all the deficiencies the Entity Framework has and that it is not ready for prime time. For us the Entity Framework has greatly simplified data access across the board. Data Access code is tedious, repetitive and boring. I don’t want to focus my energy on how to access data. It should...