C# LINQ Examples General Linq SQL

How to add Linq to sql dataclasses or Other Components in Visual studio 2017 – 2019

In this post, i’ll show you How to add Linq to sql dataclasses or Other Components in Visual studio 2017 – 2019

You may be wander when you will not find LINQ to SQL Classes in Visual Studio 2017 and Visual Studio 2019. Without having LINQ to SQL Tools, you will not be able to edit .dbml file in designer mode. Unfortunately, the LINQ to SQL Classes doesn’t get installed by default but there is an absolute and easy way to add this feature later. In this article, I will show you how can you add LINQ to SQL Classes in Visual Studio 2017 and 2019.

Step 1: Open Visual Studio 2017/2019 and Go to Tools > Get Tools and Features… It will ask permission for User Access Control. Click Continue.

Step 2: Click on Individual Components tab and then search for LINQ to SQL tools and click on Modify button.

Step 3:

Now go to Add New Item section, and you will be able to add LINQ to SQL Classes in your project.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.