Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7803373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:33:42+00:00 2026-06-02T01:33:42+00:00

My collection looks like this I need to get all those order no’s whose

  • 0

My collection looks like this

enter image description here

I need to get all those order no’s whose Pick’s SeqNo is Greater than whose Deliver Status. Business rule is these operations happen based on their SeqNo and no Order No should deliver before get picked up.

In given example, i should get Order No 2, because it delivers before it get pickedup.
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T01:33:44+00:00Added an answer on June 2, 2026 at 1:33 am

    Sounds like you need something like this – I’ve separated out the query parts to make it easier to read:

    var pickups = orders.Where(order => order.Status == Status.Pick);
    var deliveries = orders.Where(order => order.Status == order.Deliver);
    var query = from pickup in pickups
                join delivery in deliveries on pickup.OrderId equals delivery.OrderId
                where pickup.SeqNo > delivery.SeqNo
                select pickup.OrderId;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a collection of MODS records that looks like this: <modsCollection> <mods [namespaces
Im using the python framework flask with sqlalchemy. My many-to-many looks like this: collections_questions
Looks like dynamic memory allocation without garbage collection is a way to disaster. Dangling
I'm trying to re-use a Java generic collection I wrote, looks a lot like
I have many collections of documents in a mongo database that look like this:
I have an IRecord which contains an ICollection of Samples. The ICollection looks like
Garbage Collection can become a time consuming process. In this regard, the GC tends
I have a String Collection that is populated with ID's like so --> 12345
There are several questions throughout this post all related to the title. The overall
I would like to flatten a collection of DTO's into a single DO using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.