The SQL dialect for this connection's platform. Exposes identifier quoting,
timestamp expressions, etc. — used by callers (e.g. validator-function
emission in EntitySubClassGeneratorBase) that need to author dialect-aware
SQL but don't have access to a CodeGenDatabaseProvider instance.
Provides access to the underlying mssql.ConnectionPool for cases where SQL Server-specific functionality is needed (e.g., legacy code that has not yet been fully abstracted).
Begins a new database transaction.
A CodeGenTransaction handle for executing queries within the transaction.
Executes a stored procedure (SQL Server) or function call (PostgreSQL).
The fully qualified routine name (e.g., "[dbo].[spCreateEntity]").
Named parameters for the routine.
The query result with a recordset array.
Executes a SQL query without parameters.
The SQL statement to execute.
The query result with a recordset array.
Executes a SQL query with named parameters. Parameters are passed as key-value pairs and the implementation is responsible for binding them safely (e.g.,
The SQL statement with parameter placeholders.
Named parameters as key-value pairs.
The query result with a recordset array.
SQL Server implementation of CodeGenConnection. Wraps an mssql.ConnectionPool and adapts it to the generic interface.
Example