EDM skip and take

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
pleb
Posts: 37
Joined: Mon 23 Jun 2008 06:21
Location: Melbourne, Australia

EDM skip and take

Post by pleb » Fri 27 Jun 2008 05:50

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

anton.connect
Posts: 43
Joined: Thu 19 Jun 2008 14:30

Post by anton.connect » Fri 27 Jun 2008 13:11

Now we are working on solving the problem.
We let you know when decision is find

pleb
Posts: 37
Joined: Mon 23 Jun 2008 06:21
Location: Melbourne, Australia

Post by pleb » Fri 27 Jun 2008 13:14

Thanks Anton :wink:

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 08 Jul 2008 12:13

Hello, Pleb.

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

Regards, Andrey.

pleb
Posts: 37
Joined: Mon 23 Jun 2008 06:21
Location: Melbourne, Australia

Post by pleb » Tue 08 Jul 2008 23:00

Thanks for the update, I can't wait for it to be released :D

pleb
Posts: 37
Joined: Mon 23 Jun 2008 06:21
Location: Melbourne, Australia

Post by pleb » Fri 18 Jul 2008 06:20

Just wondering how far away this new build is?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Mon 21 Jul 2008 08:22

Hello, Pleb.

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

Regards, Andrey.

pleb
Posts: 37
Joined: Mon 23 Jun 2008 06:21
Location: Melbourne, Australia

Post by pleb » Mon 21 Jul 2008 11:49

Thanks for the update. I'll download it now :D

Post Reply