Interface IDataProvider
- Namespace
- combit.Reporting.DataProviders
- Assembly
- combit.ListLabel31.CrossPlatform.dll
Provides a contract for data providers that can be bound to List & Label.
public interface IDataProvider
Properties
Relations
Gets the collection of table relations available in the provider.
ReadOnlyCollection<ITableRelation>? Relations { get; }
Property Value
SupportsAnyBaseTable
Gets a value indicating whether the provider supports any base table.
bool SupportsAnyBaseTable { get; }
Property Value
Tables
Gets the collection of tables available in the provider.
ReadOnlyCollection<ITable>? Tables { get; }
Property Value
Methods
GetRelation(string)
Retrieves the relation with the specified name.
ITableRelation? GetRelation(string relationName)
Parameters
relationNamestringThe name of the relation to retrieve.
Returns
- ITableRelation
The ITableRelation corresponding to the specified name, or
nullif no relation with that name is found.
GetTable(string)
Retrieves the table with the specified name.
ITable? GetTable(string tableName)
Parameters
tableNamestringThe name of the table to retrieve.