Documentation
Table of Contents

Method DiscoverAsync

Namespace
IntentSharp.Data
Assembly
IntentSharp.dll

DiscoverAsync(DbConnection, CancellationToken)

Reads the tables and columns that connection can see. The result must not contain the connection string.

Task<DatabaseSchema> DiscoverAsync(DbConnection connection, CancellationToken cancellationToken = default)

Parameters

connection DbConnection
cancellationToken CancellationToken

Returns

Task<DatabaseSchema>