EDM skip and take

EDM skip and take

Postby 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
pleb
 
Posts: 37
Joined: Mon 23 Jun 2008 06:21
Location: Melbourne, Australia

Postby anton.connect » Fri 27 Jun 2008 13:11

Now we are working on solving the problem.
We let you know when decision is find
anton.connect
 
Posts: 43
Joined: Thu 19 Jun 2008 14:30

Postby pleb » Fri 27 Jun 2008 13:14

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

Postby 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.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby 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

Postby pleb » Fri 18 Jul 2008 06:20

Just wondering how far away this new build is?
pleb
 
Posts: 37
Joined: Mon 23 Jun 2008 06:21
Location: Melbourne, Australia

Postby AndreyR » Mon 21 Jul 2008 08:22

Hello, Pleb.

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

Regards, Andrey.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby pleb » Mon 21 Jul 2008 11:49

Thanks for the update. I'll download it now :D
pleb
 
Posts: 37
Joined: Mon 23 Jun 2008 06:21
Location: Melbourne, Australia


Return to dotConnect for MySQL