Interface IDataSourceFactory
Describes a factory to create datasources.
Namespace: Stylelabs.M.Sdk.Factories
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
Type | Name | Description |
---|---|---|
System.String | name | Name of the data source. |
Returns
Type | Description |
---|---|
IFlatDataSource | A new flat data source instance. |
CreateHierarchicalDataSource(String)
Creates a new hierarchical data source instance with the specified name.
Declaration
IHierarchicalDataSource CreateHierarchicalDataSource(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the data source. |
Returns
Type | Description |
---|---|
IHierarchicalDataSource | A new hierarchical data source instance. |
Can we improve this article ? Provide feedback