1. Stylelabs.M.Sdk.Factories

Interface IDataSourceFactory

Describes a factory to create datasources.

Namespace: StylelabsStylelabs.MSdkFactories

Assembly: Stylelabs.M.Sdk.dll

Syntax

public interface IDataSourceFactory

Methods

CreateFlatDataSource(string)

Creates a new flat data source instance with the specified name.

Declaration

IFlatDataSource CreateFlatDataSource(string name)

Parameters

TypeNameDescription
stringnameName of the data source.

Returns

TypeDescription
IFlatDataSourceA new flat data source instance.

CreateHierarchicalDataSource(string)

Creates a new hierarchical data source instance with the specified name.

Declaration

IHierarchicalDataSource CreateHierarchicalDataSource(string name)

Parameters

TypeNameDescription
stringnameName of the data source.

Returns

TypeDescription
IHierarchicalDataSourceA new hierarchical data source instance.
If you have suggestions for improving this article, let us know!