Table of Contents

Namespace NextORM.SqlServer

Classes

SqlServerDataContext

Data context for Microsoft SQL Server. Wraps the Microsoft.Data.SqlClient driver for connections and parameters and renders SQL through SqlServerDialect.

SqlServerDataContextOptionsBuilderExtensions

Extension methods that configure a DataContextBuilder to use Microsoft SQL Server.

SqlServerDialect

SQL Server dialect: bracket-quoted identifiers, @name parameters, offset/fetch paging (which requires an ORDER BY), count_big and a boolean-less rendering of subquery predicates.

SqlServerEntityBuilderExtensions

SQL Server-only fluent members of EntityBuilder<TEntity>, removed from the common nextorm package and re-exposed here as extension methods. Add using NextORM.SqlServer; to keep the fluent chain unchanged on a SQL Server provider. The render-time dialect gating (and the thrown exceptions) is unchanged.

Enums

SqlServerEngineEdition

The SQL Server engine edition a SqlServerDataContext declares, mirroring the values of SERVERPROPERTY('EngineEdition'). The declaration is immutable and supplied by the caller: nextorm never queries the server for this value, so the emitted SQL stays a pure function of the constructor arguments.

Only SqlDatabase (5), AzureSqlManagedInstance (8) and MicrosoftFabricSqlDatabase (12) grant the edition-derived native json capability, because those are the products whose engine has the native json data type while reporting a ProductMajorVersion below 17. AzureSynapseServerlessSqlPoolOrMicrosoftFabric (11) does not grant it: the value covers "Azure Synapse serverless SQL pool, or Microsoft Fabric", and the serverless pool has no json column type. Every other value, and an unset edition, grant nothing; the unchanged version gate (major 17 or higher) still applies on its own.