Table of Contents

Class SqlServerConnectionCommandOptions

Namespace
ItTiger.TigerQuery.CliCore
Assembly
ItTiger.TigerQuery.CliCore.dll
Supplies application-owned dependencies when mounting the reusable SQL Server connection command group.
public sealed class SqlServerConnectionCommandOptions
Inheritance
SqlServerConnectionCommandOptions
Inherited Members

Remarks

The store is always chosen by the run rather than at composition time, through the TigerQueryCliOptions the host also gives to its TigerQueryCliContribution. There is deliberately no way to pin one already-constructed store here, because such a store would ignore whatever --tq-connection-store-file or the TigerQuery environment variable selected.

Properties

TigerQuery

Gets or sets the contribution-owned state the commands read their store from at execution time. Required.
public TigerQueryCliOptions? TigerQuery { get; set; }

Property Value

TigerQueryCliOptions

Remarks

This must be the same TigerQueryCliOptions instance given to the TigerQueryCliContribution the host registered, and to the host's own commands and services. The commands do not touch it until they run, which is after the contribution callback has selected the run's store.

ValidationPolicy

Gets or sets the profile validation policy used by add and edit.
public SqlServerConnectionValidationPolicy ValidationPolicy { get; set; }

Property Value

SqlServerConnectionValidationPolicy

Remarks

The default permits server-level profiles without an initial database. A null value is rejected during command-group configuration.