Skip to content

Commit 31fcdd0

Browse files
vignesh.natarajan@syncfusion.comvignesh.natarajan@syncfusion.com
authored andcommitted
added missing aggregate codes
1 parent 23e5dd2 commit 31fcdd0

File tree

2 files changed

+2
-0
lines changed
  • Binding MS SQL database using UrlAdaptor

2 files changed

+2
-0
lines changed

Binding MS SQL database using UrlAdaptor/Blazor WASM app/MyWebService/MyWebService/Controllers/GridController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public object Post([FromBody] DataManagerRequest DataManagerRequest)
4141
}
4242
int count = DataSource.Cast<Order>().Count();
4343
// Handling Aggregation in Url Adaptor.
44+
IDictionary<string, object> Aggregates = null;
4445
if (DataManagerRequest.Aggregates != null) // Aggregation
4546
{
4647
Aggregates = DataUtil.PerformAggregation(DataSource, DataManagerRequest.Aggregates);

Binding MS SQL database using UrlAdaptor/Blazor Web app/Grid_MSSQL/Grid_MSSQL/Grid_MSSQL/Controllers/GridController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public object Post([FromBody] DataManagerRequest DataManagerRequest)
4444
}
4545
int count = DataSource.Cast<Order>().Count();
4646
// Handling Aggregation in Url Adaptor.
47+
IDictionary<string, object> Aggregates = null;
4748
if (DataManagerRequest.Aggregates != null) // Aggregation
4849
{
4950
Aggregates = DataUtil.PerformAggregation(DataSource, DataManagerRequest.Aggregates);

0 commit comments

Comments
 (0)