Table of Contents

Class SqlServerConnectionMetadataFilter

Namespace
ItTiger.TigerQuery.Core
Assembly
ItTiger.TigerQuery.Core.dll
One ordinal, case-sensitive predicate over opaque connection-profile metadata.
public sealed record SqlServerConnectionMetadataFilter : IEquatable<SqlServerConnectionMetadataFilter>
Inheritance
SqlServerConnectionMetadataFilter
Implements
Inherited Members

Remarks

Filters are immutable value records after initialization. A collection passed to QueryByMetadata(IEnumerable<SqlServerConnectionMetadataFilter>) is combined using AND semantics.

Properties

Key

The non-empty metadata key to test. It is not trimmed or normalized.
public required string Key { get; init; }

Property Value

string

Operator

The comparison to apply. The default is Equals.
public SqlServerConnectionMetadataFilterOperator Operator { get; init; }

Property Value

SqlServerConnectionMetadataFilterOperator

Value

The exact value required by Equals. It must be null for the other operators.
public string? Value { get; init; }

Property Value

string