Class QuoteConnectorProvider
Inheritance
QuoteConnectorProvider
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[ArchiveProvider("QuoteConnector", 1073741823)]
public class QuoteConnectorProvider : InMemoryProviderBase<ArchiveRow>, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Fields
ColumnAssemblyName
Declaration
public const string ColumnAssemblyName = "assemblyName"
Field Value
ColumnClassName
Declaration
public const string ColumnClassName = "className"
Field Value
ColumnFilename
Declaration
public const string ColumnFilename = "filename"
Field Value
ColumnLicensed
Declaration
public const string ColumnLicensed = "licensed"
Field Value
ColumnLocation
Declaration
public const string ColumnLocation = "location"
Field Value
ColumnName
Declaration
public const string ColumnName = "name"
Field Value
ColumnVersion
Declaration
public const string ColumnVersion = "version"
Field Value
ProviderName
Declaration
public const string ProviderName = "QuoteConnector"
Field Value
RowTypeName
Declaration
public const string RowTypeName = "connector"
Field Value
_colAssemblyName
Declaration
protected ArchiveColumnInfo _colAssemblyName
Field Value
_colClassName
Declaration
protected ArchiveColumnInfo _colClassName
Field Value
_colFilename
Declaration
protected ArchiveColumnInfo _colFilename
Field Value
_colLicensed
Declaration
protected ArchiveColumnInfo _colLicensed
Field Value
_colLocation
Declaration
protected ArchiveColumnInfo _colLocation
Field Value
_colName
Declaration
protected ArchiveColumnInfo _colName
Field Value
_colVersion
Declaration
protected ArchiveColumnInfo _colVersion
Field Value
Properties
BaseClassShouldFilterColumns
Subclass contract: Return true if the base class should filter columns according to SetDesiredColumns. If this property is false,
the actual ArchiveRow objects are returned; otherwise a typed copy is made and ColumnData are populated accoprding to DesiredColumns.
Declaration
protected override bool BaseClassShouldFilterColumns { get; }
Property Value
Overrides
Remarks
BaseClassShouldFilterEntities
Subclass contract: Return true if the base class should filter columns according to SetDesiredColumns. If this property is false,
the actual ArchiveRow objects are returned; otherwise a typed copy is made and ColumnData are populated accoprding to DesiredColumns.
Declaration
protected override bool BaseClassShouldFilterEntities { get; }
Property Value
Overrides
BaseClassShouldPage
Subclass contract: Return true if the base class should perform filter entities according to SetDesiredEntities. If this property is false,
the result set is assumed to represent the chosen entities only.
Declaration
protected override bool BaseClassShouldPage { get; }
Property Value
Overrides
BaseClassShouldSort
Subclass contract: Return true if the base class should perform sorting according to SetOrderBy. If this property is false,
the result set is assumed to be correctly ordered.
Declaration
protected override bool BaseClassShouldSort { get; }
Property Value
Overrides
Methods
GetResultDataAsync(CancellationToken)
Subclass contract: Return a list of ArchiveRow items that are the current result
Declaration
protected override IAsyncEnumerable<ArchiveRow> GetResultDataAsync(CancellationToken _ = default)
Parameters
Returns
Type |
Description |
IAsyncEnumerable<ArchiveRow> |
result list, which may be paged, sorted and column-filtered, or not, according to the abstract properties
|
Overrides
SetRestriction(params ArchiveRestrictionInfo[])
Set query restriction globally, supersedes previous restrictions
Declaration
public override bool SetRestriction(params ArchiveRestrictionInfo[] restrictions)
Parameters
Type |
Name |
Description |
ArchiveRestrictionInfo[] |
restrictions |
Array of restrictions, with an implicit AND between them
|
Returns
Type |
Description |
bool |
true if at least one of the restrictions matched one of the available columns of the provider
|
Overrides
Implements
Extension Methods