IDashboardDataSource.GetFieldSourceType(String, String) Method
Gets the type of the field contained in the current data source.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.1.Core.dll
NuGet Package: DevExpress.Dashboard.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
name | String | A String value that specifies the name of the data source field. |
dataMember | String | A String value that specifies the name of the data member. Note The dataMember parameter should be specified for a SQL Data Source (a query name) or Entity Framework Data Source (a data member name) only. |
Returns
Type | Description |
---|---|
Type | A Type value that is the type of the field. |
Remarks
For example, the DashboardSqlDataSource class instance (dataSource) contains the SalesPerson query from the corresponding view contained in the standard Northwind database. In this case, the GetFieldSourceType method returns DateTime for the OrderDate field from the SalesPerson view.
Note that dataSource is the DashboardSqlDataSource class instance.