Strongly typed include in EF, revisited

A few days ago I wrote this post about strongly typed "Include()" method in Entity Framework. However, this approach has a little flaw that I fixed today. The error is that it will not handle nested members. I have fixed this now, and here is the new version of the Nameof class: public st ...

Strongly typed include in EF

The other day I was talking to my old teacher, Jon Wiberg, at "Ljud & Bild skolan". He told me that he had built a extension for the entity framework that enables you to use a strongly typed version of the ".Include()" method in Entity Framework using a lambda expression. I t ...

Entity Framework vs NHibernate

I have worked with both Entity Framework (at work) and NHibernate (at private projects) for a while now, and I tought I would write a post about the differance between the two. They are both (kind of) Object Relational Mappers (ORM´s) and they were developed to solve the same problem, that is ...

Building a forum application, Part 5

This is the fifth part in a series of posts where I build a forum application. The other posts can be found here: Building a forum application, Part 1 Building a forum application, Part 2 Building a forum application, Part 3 Building a forum application, Part 4 First I&acu ...

Nested linq queries

So linq queries are something I like, but there was something I didn't knew how I should do a nested query. But a few days ago I saw an example of it so thought i should write something about it.   Exemple: from item in list from subitem in item.SubItems select subitem   Hope somebo ...

<< [1] >>