|
|
I might be missing something, but the "GetByCriteria" function and associated "Query Model" seems to be very biased towards NHibernate.
How would you write a generic QueryTranslator that would convert the custom abstracted Query Model that's included in the solution into a LINQ IQueryable?
|
|
|
|
I think I've figured it out. I'm using the LINQ dynamic query library:
http://weblogs.asp.net/scottgu/archive/2008/01/07/dynamic-linq-part-1-using-the-linq-dynamic-query-library.aspx
|
|
Coordinator
Mar 31, 2010 at 9:02 AM
|
aboreham wrote:
I might be missing something, but the "GetByCriteria" function and associated "Query Model" seems to be very biased towards NHibernate.
How would you write a generic QueryTranslator that would convert the custom abstracted Query Model that's included in the solution into a LINQ IQueryable?
have a look at change sets staring from 65141: I've implemented a "LINQ-enabled" generic implementation of the Repository pattern.
|
|