Skip to content

Commit 204a510

Browse files
author
Barış Tanrıverdi
committed
v1.0.3
1 parent 29cedeb commit 204a510

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

README.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
# BctSp
2-
3-
This project has been developed with the .NET Standart 2.1 and allows you to call stored procedure from the database
4-
by simply creating only interface and methods signature without needing any concrete class to call any stored procedure.
5-
**It can work async and sync. It provides stored procedure support for MsSQL and MySQL, function support for PostgreSQL.**
1+
# BctSP
62

3+
This project has been developed with the .NET Standard 2.1.
4+
It allows you to call stored procedures from the database by simply creating only the interface and methods signature without needing any concrete class to call any stored procedure.
5+
**It can work async and sync. It provides stored procedure support for MsSQL and MySQL and function support for PostgreSQL.**
76

87
# Installation
98

10-
BctSP is available in Nuget. Anybody can install it via Nuget Package Manager.
11-
12-
https://www.nuget.org/packages/BctSP
9+
BctSP is now available on NuGet.
10+
If interested, you can easily install it using the NuGet Package Manager. It can be accessed through the link https://www.nuget.org/packages/BctSP.
1311

1412
# Usage
1513

14+
_To utilize the BctSP NuGet package, you can follow these phases:_
1615

17-
- Add BctSp service to your application builder in Program.cs and set BctSpConnectionStringOrConfigurationPath and DatabaseType for database connection which can be MsSQL or MySQL or PostgreSQL.
16+
- Add BctSP service to your application builder in Program.cs and set BctSpConnectionStringOrConfigurationPath and DatabaseType for database connection, which can be MsSQL, MySQL, or PostgreSQL.
1817

1918
```cs
2019
builder.Services.AddBctSp((x) =>
@@ -25,7 +24,7 @@ builder.Services.AddBctSp((x) =>
2524
});
2625
```
2726

28-
- Create a request that inherits from the BctSpBaseRequest. Generic argument of the BctSpBaseRequest should be the response type of the request that inherits BctSpBaseResponse.
27+
- Create a request that inherits from the BctSpBaseRequest. The generic argument of the BctSpBaseRequest should be the response type of the request that inherits BctSpBaseResponse.
2928

3029
```cs
3130
public class GetProductsByPriceRequest : BctSpBaseRequest<GetProductsByPriceResponse>
@@ -52,7 +51,7 @@ builder.Services.AddBctSp((x) =>
5251
}
5352
```
5453

55-
- Create an interface which implements IBctSp and has method signatures.
54+
- Create an interface that implements IBctSp and has method signatures.
5655

5756
```cs
5857
public interface ISampleSP : IBctSp
@@ -66,7 +65,8 @@ builder.Services.AddBctSp((x) =>
6665
```
6766

6867

69-
- Get the interface with Dependency injection pattern.
68+
- Get the interface with the Dependency Injection pattern.
69+
7070

7171
```cs
7272
public class WeatherForecastController
@@ -79,7 +79,7 @@ public class WeatherForecastController
7979
}
8080
```
8181

82-
- Sample Usage
82+
_Sample Usage_
8383

8484
```cs
8585
public List<GetProductsByPriceResponse> GetProductsByPrice()
@@ -98,7 +98,8 @@ public class WeatherForecastController
9898
```
9999

100100

101-
- Customized Usage -- the database configuration can be overridden and customized for each request if it is needed.
101+
_Customized Usage_
102+
The database configuration can be overridden and customized for each request if needed.
102103

103104
```cs
104105
public List<GetProductsByPriceResponse> GetProductsByPrice()

0 commit comments

Comments
 (0)