Namespace LinqToDB.Internal.DataProvider.DB2
Classes
- DB2DmlService
DB2 DML mechanics. Identity retrieval is version-specific: LUW wraps a with-identity insert as
SELECT <id> FROM NEW TABLE (INSERT …)(one scalar command, emitted by the builder), or — when no identity field is detected — falls back to the insert plusSELECT identity_val_local(); z/OS appends; SELECT IDENTITY_VAL_LOCAL() FROM SYSIBM.SYSDUMMY1to the insert (builderBuildGetIdentity). A truncate-with-reset becomes the truncate plus one SqlRawStatement per identity column (ALTER TABLE … ALTER … RESTART WITH 1). Everything else uses the base scenario.
- DB2LUWDmlService
DB2 LUW DML mechanics. Parameterless so the remote client can reconstruct it from its type name.
- DB2zOSDmlService
DB2 for z/OS DML mechanics. Parameterless so the remote client can reconstruct it from its type name.