LINQ To SQL Example

In this example I’m showing how you can use LINQ to access data inside a SQL Database. I’ve created a simple Movies SQL database using the dbml modeler with Visual Studio. The database has three simple tables that hold the Movies, Reviews, and Logs. The main table I’ll be working with is the Movies table. Continue reading