Skip to content

Commit 23a53a4

Browse files
22.2 mz EUD (#180)
* delete Chart Wizard * add Pivot functions * update dashboards * update wpf/win * update * update * fixes * update
1 parent 0776c93 commit 23a53a4

File tree

86 files changed

+219
-700
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+219
-700
lines changed

dashboard-for-desktop/articles/dashboard-designer/provide-data/connect-to-ef-data-sources.md

Lines changed: 58 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,72 @@ author: Margarita Zakhodyaeva
44
---
55
# Connect to EF Data Sources
66

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

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

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

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

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

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

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

21-
4. On the final page, choose the connection string corresponding to the selected data context and click **Finish**.
21+
On the next page, select the required data context and click **Next**.
22+
23+
![select_required_connection](../../../images/select-required-connection.png)
2224

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

25-
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**.
27+
On the next page, specify a connection string used to establish a data connection. The following options are available:
28+
29+
#### Default Connection String
30+
31+
Choose the default connection string if it is specified in the application’s configuration file.
32+
33+
![choose_connection_string](../../../images/choose-connection-string.png)
34+
35+
#### Custom Connection String
36+
37+
Specify a custom connection string in the connection string editor.
38+
39+
![specify_a_connection_string](../../../images/specify-a-connection-string.png)
40+
41+
#### Predefined Connection String
42+
43+
Select an existing connection string available in the current project.
44+
45+
![EF select available string](../../../images/ef-select-a-predefined-connection-string.png)
46+
47+
### Add Stored Procedures (Optionally)
48+
49+
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.
50+
51+
![EF_AddStoredProcedurePage](../../../images/ef_addstoredprocedurepage119127.png)
52+
53+
Click **Add** and select the required stored procedures to add to the data source.
54+
55+
![EF_SelectStoredProcedures](../../../images/ef_selectstoredprocedures119128.png)
56+
57+
Specify the **Value** passed as a stored procedure parameter. Click the **Preview** button to preview data returned by the stored procedure call.
58+
59+
![EF_ConfigureProcedureParameters](../../../images/ef_configureprocedureparameters119129.png)
60+
61+
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.
62+
63+
### Apply filter Criteria
64+
65+
On the last page, you can apply filter criteria to the resulting query. Click **Finish** to create the data source.
66+
67+
![EF filter query](../../../images/ef_customconnectionstring118442.png)
68+
69+
### Result
70+
71+
The data source fields are displayed in the Data Source Browser:
72+
73+
![EF data source in the Data Source Browser](../../../images/ef-resulting-data-source.png)
2674

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

29-
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).

dashboard-for-desktop/articles/dashboard-designer/provide-data/supported-data-sources.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ To connect to various SQL databases, the Dashboard Designer requires correspondi
3131
| Amazon Redshift | n/a | .NET data provider for PostgreSQL | Npgsql.dll | [Download link](http://www.npgsql.org/) |
3232
| Google BigQuery | n/a | DevExpress.DataAccess.BigQuery ADO.NET provider | DevExpress.DataAccess.BigQuery.dll | [Download link](https://www.nuget.org/packages/DevExpress.DataAccess.BigQuery) |
3333
| 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) |
34+
|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)
3435
| 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) |
3536
| 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) |
3637
| 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) |
-490 Bytes
Loading
10.9 KB
Loading
9.78 KB
Loading
12.1 KB
Loading
8.93 KB
Loading
13.2 KB
Loading
8.62 KB
Loading
19 KB
Loading

0 commit comments

Comments
 (0)