Dear Friends,
I have come back and updated my previous blog with additional code on how to query the List data in Sharepoint using LINQ.
More here... http://daxdilip.blogspot.com.au/2013/10/blogpost-500-integrating-dynamics-ax.html
Soon, I will be writing Part 2 on how to create the journals in AX.
Keep reading...
Greetings! Welcome to my Dynamics AX 7 and related MS Technologies blog.
Total Pageviews
Search This Blog
Showing posts with label LINQ. Show all posts
Showing posts with label LINQ. Show all posts
Monday, November 4, 2013
Monday, February 4, 2008
Getting Started with my first LINQ program
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
//3. Query Execution
foreach (int num in numquery)
{
Console.Write("{0,1}", num);
}
}
}
}
{
class Program
{
static void Main(string[] args)
{
// The Three Parts of a LINQ Query:
// 1. Data source.
int[] numbers = new int[7] { 0, 1, 2, 3, 4, 5, 6 };
int[] numbers = new int[7] { 0, 1, 2, 3, 4, 5, 6 };
// 2. Query creation.
// numQuery is an IEnumerable
var numquery =
from num in numbers
where (num % 2) == 0
select num;
var numquery =
from num in numbers
where (num % 2) == 0
select num;
//3. Query Execution
foreach (int num in numquery)
{
Console.Write("{0,1}", num);
}
}
}
}
LINQ - Language Integrated Query
LINQ is a programming model that introduces queries as a first-class concept into any Microsoft .NET language.
LINQ is a methodology that simplifies and unifies the implementation of any kind of data access. LINQ does not force to use a specific architecture but it facilitates the implementation of several existing architectures for accesing data.
You can download free e-book regarding LINQ from the following site:
http://introducinglinq.com/
LINQ is a methodology that simplifies and unifies the implementation of any kind of data access. LINQ does not force to use a specific architecture but it facilitates the implementation of several existing architectures for accesing data.
You can download free e-book regarding LINQ from the following site:
http://introducinglinq.com/
Subscribe to:
Posts (Atom)