How to use Linq with Castle ActiveRecord?

Yes, Castle.ActiveRecord. Linq is production ready. It's included in the latest ActiveRecord release.

The actual Linq provider is implemented in NLinq. Dll, the ActiveRecord Linq dll is a thin pass-through layer. There are basically two ways to use it.

Yes, Castle.ActiveRecord. Linq is production ready. It's included in the latest ActiveRecord release.

The actual Linq provider is implemented in NLinq. Dll, the ActiveRecord Linq dll is a thin pass-through layer. There are basically two ways to use it: Make your entities inherit from ActiveRecordLinqBase, then to query: var blogs = (from be in Blog.

Queryable select b).ToList(); Use ActiveRecordLinq. AsQueryable, e.g. : var blogs = (from be in ActiveRecordLinq.AsQueryable() select b).ToList(); Look at the tests for some sample code. UPDATE: as of ActiveRecord 3.0 beta, Linq is integrated into Castle.ActiveRecord.

Dll, and NLinq. Dll is no more (integrated into Ndll as of Nbernate 3).

I edited your answer so I could upvote it. It wouldn't let me upvote until an edit, for some reason. – Ronnie Overby Jun 3 '10 at 18:45.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions