Interface IRVObjectFilter
Allows filtering of 'objects' (DataSource and DataSourceItems) to be returned to the client. This makes it possible, for example, to avoid some tables or views to be seen when creating a Database data source. Only supported for Database providers.
Namespace: Reveal.Sdk.Data
Assembly: Infragistics.Reveal.SDK.Server.dll
Syntax
public interface IRVObjectFilter
Methods
Filter(IRVUserContext, RVDashboardDataSource)
Used to filter DataSources to be returned to the client. Only supported for Database providers.
Declaration
Task<bool> Filter(IRVUserContext userContext, RVDashboardDataSource dataSource)
Parameters
Type | Name | Description |
---|---|---|
IRVUserContext | userContext | User context |
Reveal.Sdk.Data.RVDashboardDataSource | dataSource | Information about the data source being used, like the host name for a database, etc. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> | True if the data source should be returned, false if not. |
Filter(IRVUserContext, RVDataSourceItem)
Used to filter DataSourceItems to be returned to the client. Only supported for Database providers.
Declaration
Task<bool> Filter(IRVUserContext userContext, RVDataSourceItem dataSourceItem)
Parameters
Type | Name | Description |
---|---|---|
IRVUserContext | userContext | User context |
Reveal.Sdk.Data.RVDataSourceItem | dataSourceItem | Information about the data source item being used, like the name of the table, database, etc. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> | True if the data source item should be returned, false if not. |