Page 1 of 1

EDM skip and take

Posted: Fri 27 Jun 2008 05:50
by pleb
Hello,

I can't seem to get these two to work together. I can skip and I can take, but I can't skip and take.

Limit clause

Using take
"limit 2"

Using skip
"limit 2,18446744073709551615"

Using skip and take
"limit 2"

Code: Select all

		[Test]
		public void AnotherTest()
		{
			using (ConsignmentModuleEntities context = new ConsignmentModuleEntities(ConfigurationManager.ConnectionStrings["ConsignmentContext"].ConnectionString))
			{
				IQueryable query = context.Consignors.OrderBy(c => c.ConsignorId).Skip(2).Take(2).Select(c => c);

				foreach (Consignors o in query)
				{
					Debug.WriteLine(o.Descriptor);
				}
			}
		}
"Yes I know the .select is not needed."

Regards,

Pleb

Posted: Fri 27 Jun 2008 13:11
by anton.connect
Now we are working on solving the problem.
We let you know when decision is find

Posted: Fri 27 Jun 2008 13:14
by pleb
Thanks Anton :wink:

Posted: Tue 08 Jul 2008 12:13
by AndreyR
Hello, Pleb.

The problem is solved now. The new build will be available in several days

Regards, Andrey.

Posted: Tue 08 Jul 2008 23:00
by pleb
Thanks for the update, I can't wait for it to be released :D

Posted: Fri 18 Jul 2008 06:20
by pleb
Just wondering how far away this new build is?

Posted: Mon 21 Jul 2008 08:22
by AndreyR
Hello, Pleb.

The build is available for download now.
Sorry for delay :?

Regards, Andrey.

Posted: Mon 21 Jul 2008 11:49
by pleb
Thanks for the update. I'll download it now :D