About 12,200,000 results
Open links in new tab
  1. c# - What is LINQ and what does it do? - Stack Overflow

    LINQ To Entities - examine the System.Data.Objects namespace. Especially note the ObjectContext. This is a DataAccess technology built by the ADO.NET team. It is complex, …

  2. c# - Proper LINQ where clauses - Stack Overflow

    Apr 27, 2015 · When this is a linq-to-object call, multiple where clauses will lead to a chain of IEnumerables that read from each other. Using the single-clause form will help performance …

  3. LINQ Where with AND OR condition - Stack Overflow

    Jan 11, 2016 · LINQ select with more than one condition using OR. 1. Linq Where Clause 'AND' 'OR' Hot Network Questions

  4. c# - Where IN clause in LINQ - Stack Overflow

    Jun 6, 2009 · The "IN" clause is built into linq via the .Contains() method. For example, to get all People whose ...

  5. If condition in LINQ Where clause - Stack Overflow

    Sep 10, 2010 · This is how can you can do it with the noob Linq syntax. This applies the condition3 only if condition2 is false. If condition2 is true, you are essentially doing && true …

  6. How LINQ works internally? - Stack Overflow

    Mar 22, 2009 · Basically linq is a mixture of some language facilities (compiler) and some framework extensions. So when you write linq queries, they get executed using appropriate …

  7. How can I conditionally apply a Linq operator? - Stack Overflow

    Jul 1, 2021 · This construct includes the 'or' part of the expression in the generated SQL query. The accepted answer will generate more efficient statements. Depending on the data …

  8. c# - LINQ query on a DataTable - Stack Overflow

    Aug 14, 2008 · I'm trying to perform a LINQ query on a DataTable object and bizarrely I am finding that performing such queries on DataTables is not straightforward. For example: var …

  9. Update all objects in a collection using LINQ - Stack Overflow

    Dec 30, 2008 · All LINQ-methods don’t modify the underlying collection, they just return a new one (or more precise an iterator to a new collection). Thus whatever you do e.g. with a Select …

  10. c# - What is the "=>" sign in LINQ queries? - Stack Overflow

    Apr 10, 2015 · The => operator is used in lambda expressions. The best way to think of this is a type of syntax for writing a function, where the left side of the operator is the parameters for …

Refresh