Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 08, 2013 03:32 AM by bruce (sqlwork.com)
Jan 07, 2013 11:23 PM|LINK
Anyone know if Scott Gu's Linq Dynamic Query Library (http://weblogs.asp.net/scottgu/archive/2008/01/07/dynamic-linq-part-1-using-the-linq-dynamic-query-library.aspx
) works with MVC 4? It looks a little old so I wasn't sure. If not is there an MVC 4 equivelent component?
Jan 07, 2013 11:29 PM|LINK
Yes, LINQ is entirely different and it works with MVC.
Jan 08, 2013 01:25 AM|LINK
f not is there an MVC 4 equivelent component?
The obtaining data from database have nothing to do with MVC,. You can oibtain via EF, NHibernate, others.
Please read http://msprogrammer.serviciipeweb.ro/2010/03/29/asp-net-mvc-orm-and-viewmodels/
Jan 08, 2013 02:37 AM|LINK
Apparently I need to clarify a bit....I know that Linq is separate from mvc, and I know that I can query data with EF and Linq.
What I was asking about is whether Scott Gu's "Linq Dynamic Query Library" (it's an extension to Linq that allows you to write dynamic queries; as opposed toall this hard typed crap that requires you to write the same queries over and over again for each
entity) works with whatever version of EF MVC4 (VS2012) ships with - EF version 5, is it?
Jan 08, 2013 03:21 AM|LINK
Not sure about EF but .NET genericlly supports that, see here -
Jan 08, 2013 03:32 AM|LINK
there is a github version based on scotts code. should work with MVC 4