Skip to content

Commit 5df775e

Browse files
Updated
1 parent 1e58c37 commit 5df775e

File tree

1 file changed

+2
-2
lines changed
  • Binding PostgreSQL database using UrlAdaptor/Grid_PostgreSQL/Grid_PostgreSQL.Server/Controllers

1 file changed

+2
-2
lines changed

Binding PostgreSQL database using UrlAdaptor/Grid_PostgreSQL/Grid_PostgreSQL.Server/Controllers/GridController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public object Post([FromBody] DataManagerRequest DataManagerRequest)
2929
// Get the total count of records.
3030
int totalRecordsCount = DataSource.Count();
3131

32-
// Return data based on the request
32+
// Return data based on the request.
3333
return new { result = DataSource, count = totalRecordsCount };
3434
}
3535

@@ -50,7 +50,7 @@ public List<Orders> GetOrderData()
5050
// Open the database connection before executing the query.
5151
Connection.Open();
5252

53-
//Using NpgsqlCommand and Query create connection with database.
53+
//Using NpgsqlCommand and query create connection with database.
5454
NpgsqlCommand Command = new(queryStr, Connection);
5555

5656
// Using NpgsqlDataAdapter to execute the NpgsqlCommand and fill the results into a DataTable.

0 commit comments

Comments
 (0)