About 2,710,000 results
Open links in new tab
  1. What is the difference between "LINQ to Entities", "LINQ to SQL" …

    Linq-to-SQL is Microsoft's first attempt at an ORM - Object-Relational Mapper. It supports SQL Server only. It's a mapping technology to map SQL Server database tables to .NET objects. …

  2. c# - Get SQL query from LINQ to SQL? - Stack Overflow

    Aug 14, 2013 · I have a query which I am passing byte[] as a parameter. I am trying to get the SQL query out of it and run that query in management studio to debug. How can I extract the …

  3. Linq version of SQL "IN" statement - Stack Overflow

    This Linq query is the same as the following SQL: SELECT Items.* FROM TagMaps INNER JOIN Items ON Item.ItemId = TagMap.ItemId WHERE TagMaps.TagId IN (12,32,24) Linq takes care …

  4. What is the syntax for an inner join in LINQ to SQL?

    Sep 1, 2008 · I'm writing a LINQ to SQL statement, and I'm after the standard syntax for a normal inner join with an ON clause in C#. How do you represent the following in LINQ to SQL: select …

  5. .net - Entity Framework vs LINQ to SQL - Stack Overflow

    496 LINQ to SQL only supports 1 to 1 mapping of database tables, views, sprocs and functions available in Microsoft SQL Server. It's a great API to use for quick data access construction to …

  6. How to do Select All(*) in linq to sql - Stack Overflow

    How do you select all rows when doing linq to sql? Select * From TableA In both query syntax and method syntax please.

  7. SQL to LINQ Tool - Stack Overflow

    Nov 18, 2008 · Is there a tool out there which can convert SQL syntax to LINQ syntax? I just want to rewrite basic queries with join, etc., to LINQ. It would save me a lot of time.

  8. how to see generated sql from a linq query - Stack Overflow

    Just trying to get the sql that is generated by a linq query.

  9. Retrieve LINQ to sql statement (IQueryable) WITH parameters

    I'm using Datacontext.Log property to get the generated SQL Statement (it includes the statement text, and parameters). Just set YourDataContext.Log = SomeTextWriter.

  10. How to view LINQ Generated SQL statements? - Stack Overflow

    Feb 4, 2011 · If you use SQL profiler, to ensure capture of all LINQ queries from your VS debug session, use SQL Profiler 'RPC Completed' and 'SQL:BatchCompleted' events.