Skip to content

Commit 53ce8ef

Browse files
authored
Merge pull request #6671 from ghogen/data-tools-issues
Data tools issues
2 parents d199048 + e67d4f1 commit 53ce8ef

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

docs/data-tools/create-a-simple-data-application-with-wpf-and-entity-framework-6.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.workload:
1212
---
1313
# Create a simple data application with WPF and Entity Framework 6
1414

15-
This walkthrough shows how to create a basic "forms over data" application in Visual Studio. The app uses SQL Server LocalDB, the Northwind database, Entity Framework 6, and Windows Presentation Foundation. It shows how to do basic databinding with a master-detail view, and it also has a custom Binding Navigator with buttons for **Move Next**, **Move Previous**, **Move to beginning**, **Move to end**, **Update** and **Delete**.
15+
This walkthrough shows how to create a basic "forms over data" application in Visual Studio. The app uses SQL Server LocalDB, the Northwind database, Entity Framework 6 (not Entity Framework Core), and Windows Presentation Foundation for .NET Framework (not .NET Core). It shows how to do basic databinding with a master-detail view, and it also has a custom Binding Navigator with buttons for **Move Next**, **Move Previous**, **Move to beginning**, **Move to end**, **Update** and **Delete**.
1616

1717
This article focuses on using data tools in Visual Studio, and does not attempt to explain the underlying technologies in any depth. It assumes that you have a basic familiarity with XAML, Entity Framework, and SQL. This example also does not demonstrate Model-View-ViewModel (MVVM) architecture, which is standard for WPF applications. However, you can copy this code into your own MVVM application with few modifications.
1818

docs/data-tools/create-a-sql-database-by-using-a-designer.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ You can use Visual Studio to create and update a local database file in SQL Serv
2222

2323
To complete this walkthrough, you'll need the **.NET desktop development** and **Data storage and processing** workloads installed in Visual Studio. To install them, open **Visual Studio Installer** and choose **Modify** (or **More** > **Modify**) next to the version of Visual Studio you want to modify.
2424

25+
> [!NOTE]
26+
> The procedures in this article apply only to .NET Framework Windows Forms projects, not to .NET Core Windows Forms projects.
27+
2528
## Create a project and a local database file
2629

27-
1. Create a new **Windows Forms App** project and name it **SampleDatabaseWalkthrough**.
30+
1. Create a new **Windows Forms App (.NET Framework)** project and name it **SampleDatabaseWalkthrough**.
2831

2932
2. On the menu bar, select **Project** > **Add New Item**.
3033

docs/data-tools/samples/sales.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ GO
6161
PRINT N'Creating Sales.CK_Orders_FilledDate...';
6262
GO
6363
ALTER TABLE [Sales].[Orders]
64-
ADD CONSTRAINT [CK_Orders_FilledDate] CHECK ((FilledDate >= OrderDate) AND (FilledDate < '01/01/2020'));
64+
ADD CONSTRAINT [CK_Orders_FilledDate] CHECK ((FilledDate >= OrderDate) AND (FilledDate < '01/01/2100'));
6565
GO
6666
PRINT N'Creating Sales.CK_Orders_OrderDate...';
6767
GO
6868
ALTER TABLE [Sales].[Orders]
69-
ADD CONSTRAINT [CK_Orders_OrderDate] CHECK ((OrderDate > '01/01/2005') and (OrderDate < '01/01/2020'));
69+
ADD CONSTRAINT [CK_Orders_OrderDate] CHECK ((OrderDate > '01/01/2005') and (OrderDate < '01/01/2100'));
7070
GO
7171
PRINT N'Creating Sales.uspCancelOrder...';
7272
GO

0 commit comments

Comments
 (0)