[]
        
(Showing Draft Content)

C1.Web.Api.DataEngine.Data.FlexPivotEngineProviderManager.AddDataSource

AddDataSource Method

AddDataSource(string, Func<IEnumerable>)

Adds a DataSource data from an arbitrary IEnumerable.

Declaration
public FlexPivotEngineProviderManager AddDataSource(string name, Func<IEnumerable> dataSourceGetter)
Public Function AddDataSource(name As String, dataSourceGetter As Func(Of IEnumerable)) As FlexPivotEngineProviderManager
Parameters
Type Name Description
string name

The unique value used to stand for the data.

Func<IEnumerable> dataSourceGetter

A function used to return the arbitrary IEnumerable.

Returns
Type Description
FlexPivotEngineProviderManager

The flex pivot engine provider manager.

AddDataSource(string, IEnumerable)

Adds a DataSource data from an arbitrary IEnumerable.

Declaration
public FlexPivotEngineProviderManager AddDataSource(string name, IEnumerable dataSource)
Public Function AddDataSource(name As String, dataSource As IEnumerable) As FlexPivotEngineProviderManager
Parameters
Type Name Description
string name

The unique value used to stands for the data.

IEnumerable dataSource

The arbitrary IEnumerable.

Returns
Type Description
FlexPivotEngineProviderManager

The flex pivot engine provider manager.