Interface ISqlDatabase
Represents an SQL database.
public interface ISqlDatabase : IDisposable
- Inherited Members
Properties
Connector
Connector object that can be used to connect to this database.
ISqlDatabaseConnector Connector { get; }
Property Value
DataTypes
Provider of SQL data types.
ISqlDataTypeProvider DataTypes { get; }
Property Value
Dialect
Specifies the SQL dialect of this database.
SqlDialect Dialect { get; }
Property Value
NodeInterpreters
Factory of node interpreters.
ISqlNodeInterpreterFactory NodeInterpreters { get; }
Property Value
ParameterBinders
Factory of parameter binders.
ISqlParameterBinderFactory ParameterBinders { get; }
Property Value
QueryReaders
Factory of query readers.
ISqlQueryReaderFactory QueryReaders { get; }
Property Value
Schemas
Collection of schemas defined in this database.
ISqlSchemaCollection Schemas { get; }
Property Value
ServerVersion
Current ServerVersion of this database.
string ServerVersion { get; }
Property Value
TypeDefinitions
Provider of column type definitions.
ISqlColumnTypeDefinitionProvider TypeDefinitions { get; }
Property Value
Version
Current version of this database.
Version Version { get; }
Property Value
VersionRecordsQuery
Query reader's executor capable of reading metadata of all versions applied to this database.
SqlQueryReaderExecutor<SqlDatabaseVersionRecord> VersionRecordsQuery { get; }
Property Value
Methods
GetRegisteredVersions()
Returns a collection of all versions applied to this database.
[Pure]
SqlDatabaseVersionRecord[] GetRegisteredVersions()
Returns
- SqlDatabaseVersionRecord[]
Collection of all versions applied to this database.