You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LICENSE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ All files are released under the MIT license:
2
2
3
3
The MIT License (MIT)
4
4
5
-
Copyright (c) 2018 Appeon Limited.
5
+
Copyright (c) Appeon.
6
6
7
7
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:
Copy file name to clipboardExpand all lines: README.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,12 @@
1
1
# <b>.NET DataStore Example</b>
2
2
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.
4
4
5
5
##### Sample Project Structure
6
6
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).
8
10
9
11
The project is structured as follows.
10
12
@@ -15,17 +17,17 @@ The project is structured as follows.
15
17
16
18
There is a ready-to-use example client application for you to test the Web APIs created from the project:
17
19
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.
19
21
20
22
##### Setting Up the Project
21
23
22
-
1. Open the PowerBuilder project in PowerBuilder 2019 R2 (beta release).
24
+
1. Open the PowerBuilder project in PowerBuilder 2019 R2.
23
25
24
-
2. Open the C# project in SnapDevelop.
26
+
2. Open the C# project in SnapDevelop 2019 R2.
25
27
26
28
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.
27
29
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.
29
31
30
32
5. Open the configuration file *appsettings.json* in the project, modify the ConnectionStrings with the actual database connection information.
31
33
@@ -34,7 +36,7 @@ There is a ready-to-use example client application for you to test the Web APIs
34
36
"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" }
35
37
```
36
38
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.
38
40
39
41
```C#
40
42
//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