Telerik MVC Grid and NHibernate.Linq

57 views
Skip to first unread message

u.abramchuk

unread,
Nov 13, 2009, 7:48:58 AM11/13/09
to nhusers
Hi,

after reading "Using Telerik MVC Grid in CRUD Scenario" I decided to
implement it using NHibernate and NHibernate.Linq. Everything (paging,
sorting) works fine except filtering.

I've posted a question about this issue on Telerik forum. You can read
the whole conversation here http://www.telerik.com/community/forums/aspnet-mvc/grid/grid-and-nhibernate-linq.aspx.

So I have two questions.

1)Are there any plans to support queries like
Expression<Func<Customers, bool>> filter = c => c.ContactName.ToLower
().StartsWith("a");
in future NHibernate and NHibernate.Linq releases?

2)When NH3 is supposed to be released?

Thanks in advance.

Steve Strong

unread,
Nov 22, 2009, 3:42:44 PM11/22/09
to nhu...@googlegroups.com
I'll add a specific test for this, but this kind of construct certainly should work.  Clearly you've found one of the very few bugs in the new provider :D

Cheers,

Steve


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "nhusers" group.
To post to this group, send email to nhu...@googlegroups.com
To unsubscribe from this group, send email to nhusers+u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---


Steve Strong

unread,
Nov 22, 2009, 3:49:46 PM11/22/09
to nhu...@googlegroups.com
Actually, just had a closer read of the Telerik forum, and it looks like this is failing with the 1.0 provider.  I will add a test for this on the new provider, but I suspect it will work just fine.  If you feel like getting the trunk and giving that a go, that would be great.
Reply all
Reply to author
Forward
0 new messages