I’ve had a wild time working up NHibernate Episode 5 – mostly due to technical issues I’ve been having. One bright part, however, was when I started to ask Ayende questions from Twitter (inspired by the Herding Code guys) and we go into a very interesting tangent regarding Entity Framework and the Codeplex foundation.
And I asked the question:
What if Nhibernate was tossed into the Codeplex Foundation and the EF team devoted some time to supporting/expanding NHibernate instead of EF?
Crazy question – I know – but it was interesting to hear Oren’s response…
It runs just about 12 minutes… not very long
The code for “with”:
using(var s = factory.OpenSession())
{
s.CreateQuery("from Blog b join b.Posts p with p.Title = 'ayende'").List();
}