File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,19 @@ Built on **.NET Standard 2.0** - ( [_Supported Versions_](https://learn.microsof
3232- Execute scalar queries (returning a single value).
3333- Execute non-query database commands (e.g. ` INSERT ` , ` UPDATE ` , ` DELETE ` ).
3434- Execute transactions while maintaining atomicity.
35+ - Support for Synchronous and Asynchronous operations.
3536
3637## Getting Started
3738
38- - _ ** Setup ` DBContext ` with the database of your choice** _
39+ - _ ** Setup ` DBContext ` with the database of your choice : ** _
3940
4041 ```
4142 var dbContext = new DBContext(DB.<Database Type>, <Connection String>);
4243 ```
4344
44- - _**Execute `DBContext` commands**_
45+ - _**Execute `DBContext` commands : **_
4546
47+ > __Synchronous__
4648 ```
4749 var result = dbContext.FetchData(<Sql Statement>);
4850 var result = dbContext.FetchData<T>(<Sql Statement>);
@@ -57,3 +59,9 @@ Built on **.NET Standard 2.0** - ( [_Supported Versions_](https://learn.microsof
5759 ```
5860 var result = dbContext.ExecuteTransaction(<List of Sql Statements>);
5961 ```
62+
63+ > __Asynchronous__
64+ ```
65+ var result = dbContext.FetchDataAsync(<Sql Statement>);
66+ var result = dbContext.FetchDataAsync<T>(<Sql Statement>);
67+ ```
You can’t perform that action at this time.
0 commit comments