Class DataProviderExtensions
Extension methods for IDataProvider.
Inheritance
DataProviderExtensions
Namespace: BiExcellence.OpenBi.Api.Commands.DataProviders
Assembly: BiExcellence.OpenBi.Api.DataProvider.dll
Syntax
public static class DataProviderExtensions
Methods
HasSource(IDataProvider)
Returns true
when the data provider has a source.
Declaration
public static bool HasSource(this IDataProvider dataProvider)
Parameters
Type | Name | Description |
---|---|---|
IDataProvider | dataProvider | The data provider. |
Returns
Type | Description |
---|---|
bool |
ToHierarchy<T>(IEnumerable<T>)
Converts a list of data providers to a hierarchy.
Declaration
public static HierarchyNode<T> ToHierarchy<T>(this IEnumerable<T> dataProviders) where T : IDataProvider
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | dataProviders | The data providers. |
Returns
Type | Description |
---|---|
HierarchyNode<T> |
Type Parameters
Name | Description |
---|---|
T | The data provider type. |