Class AccessDmlService
- Namespace
- LinqToDB.Internal.DataProvider.Access
- Assembly
- linq2db.dll
public class AccessDmlService : DmlServiceBase, IDmlService
- Inheritance
-
objectAccessDmlService
- Implements
- Inherited Members
- Extension Methods
Methods
BuildCommandScenario(SqlStatement, SqlProviderFlags, ISqlExpressionFactory)
Access DML mechanics. An identity insert is split into the insert (non-query) plus a scalar
SELECT @@IDENTITY; a truncate-with-reset becomes the truncate plus one
SqlRawStatement per identity column
(ALTER TABLE … ALTER COLUMN … COUNTER(1, 1)). Everything else uses the base scenario.
public override SqlCommandScenario? BuildCommandScenario(SqlStatement statement, SqlProviderFlags flags, ISqlExpressionFactory factory)
Parameters
statementSqlStatementflagsSqlProviderFlagsfactoryISqlExpressionFactory
Returns
IsTableNotFoundExceptionCore(Exception)
Detects a provider-specific "table not found" exception. Called for every link of the inner-exception chain.
protected override bool IsTableNotFoundExceptionCore(Exception exception)
Parameters
exceptionException