[]
        
(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)
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)
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.