Top "Linq-to-sql" questions

LINQ to SQL is a component of .NET Framework version 3.5 that provides a run-time infrastructure for managing relational data as objects stored in Microsoft SQL Server.

Best way to update LINQ to SQL classes after database schema change

I'm using LINQ to SQL classes in a project where the database design is still in a bit of flux. …

c# .net linq-to-sql
NHibernate vs LINQ to SQL

As someone who hasn't used either technology on real-world projects I wonder if anyone knows how these two complement each …

linq nhibernate linq-to-sql orm
How To Create Generic Data Access Object (DAO) CRUD Methods with LINQ to SQL

I am new to LINQ to SQL and attempting to create a generic Data Access Object (DAO) for the basic …

c# linq linq-to-sql crud dao
How do I group data in an ASP.NET MVC View?

In reporting tools like Crystal Reports, there are ways to take denormalized data and group it by a particular column …

c# asp.net-mvc linq linq-to-sql reporting
LINQ Expression to return Property value?

I'm trying to create a generic function to help me select thousands of records using LINQ to SQL from a …

c# linq linq-to-sql lambda expression
Nested stored procedures containing TRY CATCH ROLLBACK pattern?

I'm interested in the side effects and potential problems of the following pattern: CREATE PROCEDURE [Name] AS BEGIN BEGIN TRANSACTION …

sql-server-2005 linq-to-sql stored-procedures transactions
The query results cannot be enumerated more than once?

I'm using LINQ to SQL to get a search result of a FullTextSearch stored procedure in Sql server 2008. I dragged …

linq-to-sql invalidoperationexception
Steps for a beginner to run very basic linq to sql query using Linqpad

Trying to learn Linq using LinqPad and getting frustated with how to start on it. Let's say I want to …

c# linq linq-to-sql linqpad
LINQ to Entities does not recognize the method 'System.TimeSpan Subtract(System.DateTime)' method

I try to select records in database in 60 days 30 days 20 days differents in current date. Please see this query in …

c# linq entity-framework linq-to-sql linq-to-entities
How to create a dynamic LINQ join extension method

There was a library of dynamic LINQ extensions methods released as a sample with Visual Studio 2008. I'd like to extend …

linq linq-to-sql c#-3.0 linq-to-entities linq-to-objects