Search

Example

screenshot.jpg

What is it ?

LINQ is short for Language INtegrated Query and was invented for the .net platform by the wizards at Microsoft.

AxLINQ is an attempt to bring a similar general purpose query language to the Microsoft Dynamics Ax platform (X++).

q = xFrom(n).in([1,5,4,3,8,10,7,9,2,6])
.Where(n <= 5)
.OrderBy(n)
.Select(n);

AxLINQ is a parser, that will grab the query as seen above and translate it into an expression tree, which is passed to a query provider.
The query provider interprets the expression tree an executes the query (Where, OrderBy and Select) on the given data source ([1,5,4,3,8,10,7,9,2,6]).

Currently the AxLINQ package include a query provider for enumerables of “anytype”, but the framework is prepared to be extended by any query provider that you can think of.

If you wan't to know about other projects I have, see my blog on http://sourcevault.blogspot.com
Last edited Feb 18 2010 at 3:51 PM by JesperJensen, version 9
Updating...
© 2006-2012 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2012.1.11.18365