Introduction
This article shows you how to delete data using LINQ to SQL in WPF applications.
Create a WPF application as Figure 1.
Figure 1: Create WPF application
Add LINQ to SQL classes to the project as in Figures 2 and 3.
MainWindow.xaml
The output of the application is as in Figures 4 and 5.
Summary
In this article we saw how to delete data using LINQ to SQL in WPF application.