ORMs

Entity Framework: One step closer to LOB apps

Posted on by osmirnov Posted in .NET, ORMs | Leave a comment

Not so long ago I wrote about the problems of using Entity Framework (EF) in LOB applications. Just a few days EF team has announced June version. This release solves some of the problems I have described, so I could not pass by and decided to write this post. In it I ‘ll do a brief review of main features in the context of LOB apps.
Read more

Expression cannot contain lambda expressions

Posted on by osmirnov Posted in .NET, ORMs, Visual Studio | Leave a comment

Try to open any of  Watch / Immediate and Locals windows of Visual Studio in debug mode and to add lambda expressions, and you will see this message. Own reasons exist for it  and they are very detailed in these posts. Unfortunately, the posts also lack information about resolving this problem. While developers are confronted daily with the need to filter collections in debug windows and the support for lambda expressions would greatly simplify their work.
Read more

Why Entity Framework is still not ready for LOB apps

Posted on by osmirnov Posted in .NET, ORMs | 6 Comments

I work hard and write about ORMs. Especially about Entity Framework. Naturally I have accumulated a list of problems that I hope the developers will solve in the near future. As now their solution is too expensive. Under expensive solution I mean a set of hacks that are difficult to maintain. Let’s start.

Read more

Boosting Stackoverflow.com

Posted on by osmirnov Posted in .NET, Life, ORMs | 6 Comments

If you are readers of my blog, then you know that I write a lot of ORMs. Naturally, I could not miss a post of Sam Saffron about developing by him own lightweight ORM called Dapper. For those who do not know Sam, I want to point out that he is one of the key developers of Stackoverflow. In addition, before he wrote the post it was known about Stackoverflow’s architecture that it was included the Linq-to-Sql. This is the main reason why I, like other developers, began to study the source code for Dapper. As it turned it a little, or rather just one file. Perusing it I thought whether it can be done even faster or not? Boost Sam’s code was not simply too high quality it was written. Results are in this post.
Read more

Introduction to BLToolkit (Part III): The success story

Posted on by osmirnov Posted in .NET, ORMs | Leave a comment

We have already talked about that BLToolkit can serve as a substitute as ADO.NET, and LINQ to SQL. Time to talk about the unique capabilities of this ORM. In this post I will tell about how to expend BLToolkit and open secrets of its performance.

Read more

Introduction to BLToolkit (Part II): With LINQ to SQL’s taste

Posted on by osmirnov Posted in .NET, ORMs | Leave a comment

In the previous post we talked about what the BLToolkit was originally created as a high-level wrapper on the ADO.NET. Today we’ll talk about why BLToolkit is an ORM and its similarity with LINQ to SQL. As I promised, we will carefully consider a support of Linq.

Read more