Table of Contents

Interface IRowProviderHost

Namespace
Tripous.Data
Assembly
Tripous.Data.dll

Provides access to multiple IRowProvider.

Useful when multiple tables are in an one-to-one relationship, such as a Trade, a StoreTrade and a FinTrade table.

public interface IRowProviderHost
Extension Methods

Properties

RowProviders

The list of IRowProvider instances hosted by this instance.

ReadOnlyCollection<IRowProvider> RowProviders { get; }

Property Value

ReadOnlyCollection<IRowProvider>

Methods

FindRowProvider(string)

Returns the IRowProvider with the specified TableName, if found, else null.

IRowProvider FindRowProvider(string TableName)

Parameters

TableName string

Returns

IRowProvider

GetRowProvider(string)

Returns the IRowProvider with the specified TableName, if found, else throws an exception.

IRowProvider GetRowProvider(string TableName)

Parameters

TableName string

Returns

IRowProvider

RowProviderExists(string)

Returns true if a IRowProvider with the specified TableName exists.

bool RowProviderExists(string TableName)

Parameters

TableName string

Returns

bool