Namespace LinqToDB.Internal.DataProvider
Classes
- BasicDmlService
Default IDmlService registered for every provider that does not supply its own: standard command-scenario construction (inherited from DmlServiceBase) and no provider-specific "table not found" detection.
- DmlServiceBase
Base class for provider-specific IDmlService implementations. By default BuildCommandScenario(SqlStatement, SqlProviderFlags, ISqlExpressionFactory) returns a single-step scenario (one statement rendered as one command), or the InsertOrReplace/Upsert emulation for those statements; providers override it for identity, truncate-reset, etc. PlanScenario(SqlCommandScenario, SqlProviderFlags) defaults to all-singleton (sequential) groups.
- NoopQueryParametersNormalizer
No-op query parameter normalization policy. Could be used for providers with positional nameless parameters or providers without database support.
- UniqueParametersNormalizer
Parameter name rules, implemented by this policy:
- duplicate name check is case-insensitive
- max name length: 50 characters
- allowed characters: ASCII digits, ASCII letters, _ (underscore).
- allowed first character: ASCII letter.
- default name if name missing/invalid: "p"
- duplicates resolved by adding "_counter" suffix
Structs
Interfaces
- IDmlService
Provider-specific DML mechanics that can't be expressed through SQL generation alone: command-scenario construction (how one logical operation maps to ordered execution steps), physical grouping of those steps, and "table not found" detection. Resolved from the data context's service provider by query runners that execute DML.
- IDynamicProviderAdapter
Contains base information about ADO.NET provider. Could be extended by specific implementation to expose additional provider-specific services.
- IQueryParametersNormalizer
Interface, implemented by query parameter name normalization policy for specific provider/database.
Enums
- OleDbProviderAdapter.ColumnFlags
DBCOLUMNFLAGS OLE DB enumeration. https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms722704(v=vs.85).