Skip to content

Commit

Permalink
22.2 mz EUD (#180)
Browse files Browse the repository at this point in the history
* delete Chart Wizard

* add Pivot functions

* update dashboards

* update wpf/win

* update

* update

* fixes

* update
  • Loading branch information
ritazakhodyaeva authored Jan 18, 2023
1 parent 0776c93 commit 23a53a4
Show file tree
Hide file tree
Showing 86 changed files with 219 additions and 700 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,72 @@ author: Margarita Zakhodyaeva
---
# Connect to EF Data Sources

To bind a dashboard to an Entity Framework data source from the current project, do the following.
To bind a dashboard to an Entity Framework data source from the current project, do the following:

1. Click the **New Data Source** button in the **Data Source** ribbon tab.
## Create a Data Source in the Data Source Wizard

![Choose_new_data_source](../../../images/choose-new-data-source.png)
Click the **New Data Source** button in the **Data Source** ribbon tab.

2. On the first page of the invoked **Data Source Wizard** dialog, select **Entity Framework** and click **Next**.
![Choose_new_data_source](../../../images/choose-new-data-source.png)

![ef_data_source_wizard](../../../images/ef-data-sourse-wizard.png)
### Select a Data Source and Specify Data Context

3. On the next page, select the available data context and click **Next**.
On the first page of the invoked **Data Source Wizard** dialog, select **Entity Framework** and click **Next**.

![select_required_connection](../../../images/select-required-connection.png)
![ef_data_source_wizard](../../../images/ef-data-sourse-wizard.png)

4. On the final page, choose the connection string corresponding to the selected data context and click **Finish**.
On the next page, select the required data context and click **Next**.

![select_required_connection](../../../images/select-required-connection.png)

![choose_connection_string](../../../images/choose-connection-string.png)
### Select Data from the Database

If the application configuration file does not contain the required connection string, or you need to specify the connection string manually, select **No, specify a custom connection string** and click **Next**.
On the next page, specify a connection string used to establish a data connection. The following options are available:

#### Default Connection String

Choose the default connection string if it is specified in the application’s configuration file.

![choose_connection_string](../../../images/choose-connection-string.png)

#### Custom Connection String

Specify a custom connection string in the connection string editor.

![specify_a_connection_string](../../../images/specify-a-connection-string.png)

#### Predefined Connection String

Select an existing connection string available in the current project.

![EF select available string](../../../images/ef-select-a-predefined-connection-string.png)

### Add Stored Procedures (Optionally)

The next wizard page is available only if the current entity data model contains stored procedures. This page allows you to add stored procedures to the data source and configure their parameters.

![EF_AddStoredProcedurePage](../../../images/ef_addstoredprocedurepage119127.png)

Click **Add** and select the required stored procedures to add to the data source.

![EF_SelectStoredProcedures](../../../images/ef_selectstoredprocedures119128.png)

Specify the **Value** passed as a stored procedure parameter. Click the **Preview** button to preview data returned by the stored procedure call.

![EF_ConfigureProcedureParameters](../../../images/ef_configureprocedureparameters119129.png)

As an alternative, enable the **Expression** check box to invoke the Expression Editor dialog. In the dialog, you can specify the expression or select an existing dashboard parameter to use it as a stored procedure parameter.

### Apply filter Criteria

On the last page, you can apply filter criteria to the resulting query. Click **Finish** to create the data source.

![EF filter query](../../../images/ef_customconnectionstring118442.png)

### Result
The data source fields are displayed in the Data Source Browser:

![EF data source in the Data Source Browser](../../../images/ef-resulting-data-source.png)

![specify_a_connection_string](../../../images/specify-a-connection-string.png)

On this page, specify a custom connection string and click **Finish**. This creates the data source and displays its fields in the [Data Source Browser](../ui-elements\data-source-browser.md).
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ To connect to various SQL databases, the Dashboard Designer requires correspondi
| Amazon Redshift | n/a | .NET data provider for PostgreSQL | Npgsql.dll | [Download link](http://www.npgsql.org/) |
| Google BigQuery | n/a | DevExpress.DataAccess.BigQuery ADO.NET provider | DevExpress.DataAccess.BigQuery.dll | [Download link](https://www.nuget.org/packages/DevExpress.DataAccess.BigQuery) |
| Teradata | 13.0 or higher | .NET Data Provider for Teradata | Teradata.Client.Provider.dll | [Download link](https://downloads.teradata.com/download/connectivity/net-data-provider-for-teradata) |
|SAP HANA|2.0 or higher| SAP HANA Client 2.0 | Sap.Data.Hana.Core.v2.1.dll| [Download link](https://tools.hana.ondemand.com/#hanatools)
| SAP Sybase Advantage | Advantage Database Server 9.1 or higher | Advantage .NET Data Provider | Advantage.Data.Provider.dll | [Download link](http://devzone.advantagedatabase.com/dz/content.aspx?Key=20&Release=19&Product=4&Platform=11) |
| SAP Sybase ASE | Sybase Adaptive Server 12.0 or higher | SAP Sybase ASE Database Client | Sybase.Data.AseClient.dll | [Download link](http://scn.sap.com/community/developer-center/oltp-db) |
| SAP SQL Anywhere | 11 or higher | SAP SQL Anywhere Database Client | iAnywhere.Data.SQLAnywhere.dll | [Download link](http://scn.sap.com/docs/DOC-35857?d96a349c52fc4f68eea46a47ccb3d360) |
Expand Down
Binary file modified dashboard-for-desktop/images/choose-connection-string.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dashboard-for-desktop/images/select-required-connection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dashboard-for-desktop/images/specify-a-connection-string.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dashboard-for-web/images/dashboard-data-source-types.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion interface-elements-for-desktop/articles/charting.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ This section describes the capabilities provided by Charts.

Topics in this section:
* [Chart Designer](charting/chart-designer.md)
* [Chart Wizard](charting/chart-wizard.md)
* [Highlighting and Selection Chart Elements](charting/highlighting-and-selection-chart-elements.md)
* [Zoom a Chart](charting/zoom-a-chart.md)
* [Scroll a Chart](charting/scroll-a-chart.md)
Expand Down
34 changes: 0 additions & 34 deletions interface-elements-for-desktop/articles/charting/chart-wizard.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 23a53a4

Please sign in to comment.