Documentation
Table of Contents

Class DatabaseSchema

Namespace
IntentSharp.Data
Assembly
IntentSharp.dll

Tables and columns discovered from a connection. Never contains the connection string.

public sealed class DatabaseSchema
Inheritance
object
DatabaseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

DatabaseSchema()

Creates an empty schema: the dialect "SQL", no tables, and the current UTC time as the discovery time.

Properties

Dialect

The SQL dialect the model is asked to write, for example "SQLite" or "PostgreSQL". Default "SQL".

DiscoveredAt

When the schema was discovered (UTC).

Tables

The discovered tables and views.

Methods

FindTable(string)

Finds a table by its bare or qualified name, ignoring case. Returns null when no table matches.