All Things Tagged 'LINQ to SQL'

Using Default Values in LINQ to SQL

If your SQL Server automatically provides default values for certain columns, you may be scratching your head wondering why Linq to SQL throws errors when you don't provide values for those columns whenever you insert rows. Learn how to make Linq to SQL behave.

LINQ-to-SQL Bug: Using Property Name vs. DB Column Name for GUIDs

I came across this error today when working with my LINQ-to-SQL insert logic. "Invalid column name 'Id'." At first, I didn't understand why it was throwing this error because the source name was correct, "MyColumnRowGuid."

Using GUIDs in LinqDataSource Controls

Having trouble using Guid IDs in your LinqDataSource controls? This was a small tip I learned searching across the web. I will show you how you can do it, it's possible!

An error has occured while trying to process your request. Hide