Skip to content

Commit 24234cd

Browse files
committed
update readme
1 parent c8e9863 commit 24234cd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<!-- default badges end -->
44
# Dashboard for ASP.NET Core - How to customize a database schema for SQL data sources
55

6-
This example shows how to provide a custom database schema for the dashboard. The example contains two implementation of the [IDBSchemaProviderEx](https://docs.devexpress.com/CoreLibraries/DevExpress.DataAccess.Sql.IDBSchemaProviderEx) interface, `MyDBSchemaProvider` and `CustomDBSchemaProvider`. Use the [DashboardConfigurator.SetDBSchemaProvider](https://docs.devexpress.com/Dashboard/DevExpress.DashboardWeb.DashboardConfigurator.SetDBSchemaProvider(DevExpress.DataAccess.Sql.IDBSchemaProviderEx)) method to assign the database schema for the Web Dashboard.
6+
This example shows how to provide a custom database schema for the dashboard. The example contains two implementation of the [IDBSchemaProviderEx](https://docs.devexpress.com/CoreLibraries/DevExpress.DataAccess.Sql.IDBSchemaProviderEx) interface, `LimitDBSchemaProvider` and `ManualDBSchemaProvider`. Use the [DashboardConfigurator.SetDBSchemaProvider](https://docs.devexpress.com/Dashboard/DevExpress.DashboardWeb.DashboardConfigurator.SetDBSchemaProvider(DevExpress.DataAccess.Sql.IDBSchemaProviderEx)) method to assign the database schema for the Web Dashboard.
77

88
To see the result, add a new query or edit the existing query.
99

10-
### The MyDBSchemaProvider class
10+
### The LimitDBSchemaProvider class
1111

12-
File: [MyDBSchemaProvider.cs](./CS/WebDashboardAspNetCore/MyDBSchemaProvider.cs)
12+
File: [LimitDBSchemaProvider.cs](./CS/WebDashboardAspNetCore/LimitDBSchemaProvider.cs)
1313

1414
This provider displays only:
1515

@@ -19,20 +19,20 @@ This provider displays only:
1919

2020
![](images/custom_dbschema_views.png)
2121

22-
### The CustomDBSchemaProvider class
22+
### The ManualDBSchemaProvider class
2323

24-
File: [CustomDBSchemaProvider.cs](./CS/WebDashboardAspNetCore/CustomDBSchemaProvider.cs)
24+
File: [ManualDBSchemaProvider.cs](./CS/WebDashboardAspNetCore/ManualDBSchemaProvider.cs)
2525

2626
This provider loads only two tables (`Categories` and `Products`) for the `NWindConnectionString` connection. Both tables contain only two columns and the tables are linked by the `CategoryID` field.
2727

2828
![](images/custom_dbschema_tables.png)
2929

30-
This technique improves the dashboard performance, since only the specified tables are loaded to the dashboard.
30+
This technique improves the [Data Source Wizard](https://docs.devexpress.com/Dashboard/117680/) performance when loading the database schema to the dashboard.
3131

3232
## Files to Look At
3333

34-
* [MyDBSchemaProvider.cs](./CS/WebDashboardAspNetCore/MyDBSchemaProvider.cs)
35-
* [CustomDBSchemaProvider.cs](./CS/WebDashboardAspNetCore/CustomDBSchemaProvider.cs)
34+
* [LimitDBSchemaProvider.cs](./CS/WebDashboardAspNetCore/LimitDBSchemaProvider.cs)
35+
* [ManualDBSchemaProvider.cs](./CS/WebDashboardAspNetCore/ManualDBSchemaProvider.cs)
3636
* [DashboardUtils.cs](/CS/WebDashboardAspNetCore/Code/DashboardUtils.cs#L19)
3737

3838
## Documentation

0 commit comments

Comments
 (0)