Namespace NextORM.SqlServer
Classes
- SqlServerDataContext
Data context for Microsoft SQL Server. Wraps the
Microsoft.Data.SqlClientdriver for connections and parameters and renders SQL throughSqlServerDialect.
- SqlServerDataContextOptionsBuilderExtensions
Extension methods that configure a
DataContextBuilderto use Microsoft SQL Server.
- SqlServerDialect
SQL Server dialect: bracket-quoted identifiers,
@nameparameters,offset/fetchpaging (which requires an ORDER BY),count_bigand a boolean-less rendering of subquery predicates.
- SqlServerEntityBuilderExtensions
SQL Server-only fluent members of
EntityBuilder<TEntity>, removed from the commonnextormpackage and re-exposed here as extension methods. Addusing 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
jsoncapability, because those are the products whose engine has the nativejsondata type while reporting aProductMajorVersionbelow 17. AzureSynapseServerlessSqlPoolOrMicrosoftFabric (11) does not grant it: the value covers "Azure Synapse serverless SQL pool, or Microsoft Fabric", and the serverless pool has nojsoncolumn type. Every other value, and an unset edition, grant nothing; the unchanged version gate (major 17 or higher) still applies on its own.