Dot Net Recipe

Ribbon

  • Home
  • About Me
  • C#
  • SQL
    • SQL Functions
    • My Experience in SQL
  • Computer Hacks
  • Contact Me

Friday, October 6, 2017

Linq query between two lists | Update one list with another list based on a condition

Let's say we have 2 lists ListOne and ListTwo and we want to update the ListOne.Name with ListTwo.Name whenever there is a match with the ID in the both lists using linq then below is the simplest query



Posted by Blogger at 10:58 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

Blogger
View my complete profile

Blog Archive

  • ►  2020 (1)
    • ►  January (1)
  • ►  2018 (2)
    • ►  October (1)
    • ►  August (1)
  • ▼  2017 (12)
    • ►  December (1)
    • ▼  October (1)
      • Linq query between two lists | Update one list wit...
    • ►  July (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (2)
    • ►  February (5)
  • ►  2016 (4)
    • ►  August (4)
Broker Programmer. Awesome Inc. theme. Theme images by Jason Morrow. Powered by Blogger.