Table of Contents

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

ReadOnlyCollection<ITableRelation>

SupportsAnyBaseTable

Gets a value indicating whether the provider supports any base table.

bool SupportsAnyBaseTable { get; }

Property Value

bool

Tables

Gets the collection of tables available in the provider.

ReadOnlyCollection<ITable>? Tables { get; }

Property Value

ReadOnlyCollection<ITable>

Methods

GetRelation(string)

Retrieves the relation with the specified name.

ITableRelation? GetRelation(string relationName)

Parameters

relationName string

The name of the relation to retrieve.

Returns

ITableRelation

The ITableRelation corresponding to the specified name, or null if no relation with that name is found.

GetTable(string)

Retrieves the table with the specified name.

ITable? GetTable(string tableName)

Parameters

tableName string

The name of the table to retrieve.

Returns

ITable

The ITable corresponding to the specified name, or null if no table with that name is found.