Skip to content

Commit 14db5f5

Browse files
committed
update 2020.07.21
1 parent afd1d41 commit 14db5f5

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ All files are released under the MIT license:
22

33
The MIT License (MIT)
44

5-
Copyright (c) 2018 Appeon Limited.
5+
Copyright (c) Appeon.
66

77
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
88

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# <b>.NET DataStore Example</b>
22

3-
This C# project uses .NET DataStore from [DWNet.Data](<https://www.nuget.org/packages?q=dwnet>) for creating Web APIs. It makes use of the latest released Appeon PowerBuilder 2019 R2 (beta release, including SnapDevelop and SnapObjects), and shows how CRUD operations and transaction management works in .NET DataStore.
3+
This C# project uses .NET DataStore from [DWNet.Data](<https://www.nuget.org/packages/DWNet.Data/>) for creating Web APIs. It makes use of the latest released Appeon PowerBuilder 2019 R2 and SnapDevelop 2019 R2, and shows how CRUD operations and transaction management works in .NET DataStore.
44

55
##### Sample Project Structure
66

7-
This is a C# project. This project uses .NET DataStore from [DWNet.Data](<https://www.nuget.org/packages?q=dwnet>).
7+
This is C# project. This project uses .NET DataStore from [DWNet.Data](<https://www.nuget.org/packages/DWNet.Data/>).
8+
9+
Four different sets of project files are included, respectively for working with different databases (SQL Server, Oracle, SQL Anywhere, and PostgreSQL).
810

911
The project is structured as follows.
1012

@@ -15,17 +17,17 @@ The project is structured as follows.
1517

1618
There is a ready-to-use example client application for you to test the Web APIs created from the project:
1719

18-
- [PowerBuilder project](https://github.com/Appeon/PowerBuilder-RestClient-Example-Repository). Download this PowerBuilder demo application, and use RESTClient in the application to call the Web APIs.
20+
- [PowerBuilder project](https://github.com/Appeon/PowerBuilder-RestClient-Example). Download this PowerBuilder demo application, and use RESTClient in the application to call the Web APIs.
1921

2022
##### Setting Up the Project
2123

22-
1. Open the PowerBuilder project in PowerBuilder 2019 R2 (beta release).
24+
1. Open the PowerBuilder project in PowerBuilder 2019 R2.
2325

24-
2. Open the C# project in SnapDevelop.
26+
2. Open the C# project in SnapDevelop 2019 R2.
2527

2628
3. In NuGet Package Manager window in SnapDevelop, make sure that Internet connection is available and the option "Include prerelease" is selected, so that the NuGet package can be restored.
2729

28-
4. Download the SQL server database backup file from [.NET-Project-Example-Database](https://github.com/Appeon/.NET-Project-Example-Database) , and restore the database using the downloaded database backup file.
30+
4. Download the SQL server backup file from [.NET-Project-Example-Database](https://github.com/Appeon/.NET-Project-Example-Database), and restore the database using the downloaded database backup file.
2931

3032
5. Open the configuration file *appsettings.json* in the project, modify the ConnectionStrings with the actual database connection information.
3133

@@ -34,7 +36,7 @@ There is a ready-to-use example client application for you to test the Web APIs
3436
"ConnectionStrings": { "AdventureWorks": "Data Source=127.0.0.1; Initial Catalog=AdventureWorks; Integrated Security=False; User ID=sa; Password=123456; Pooling=True; Min Pool Size=0; Max Pool Size=100; ApplicationIntent=ReadWrite" }
3537
```
3638

37-
6. In the ConfigureServices method of *Startup.cs*, go to the following line, and make sure the ConnectionString name is the same as the database connection name specified in step #6.
39+
6. In the ConfigureServices method of *Startup.cs*, go to the following line, and make sure the ConnectionString name is the same as the database connection name specified in step #5.
3840

3941
```C#
4042
//Note: Change "OrderContext" if you have changed the default DataContext file name; change the "AdventureWorks" if you have changed the database connection name in appsettings.json

0 commit comments

Comments
 (0)