Table of Contents

Class ConcurrencyConflictException

Namespace
eQuantic.Core.Data.Repository
Assembly
eQuantic.Core.Data.dll

Thrown when a commit's optimistic-concurrency check fails: at least one staged update or delete matched no row, because another writer changed (or removed) it since it was read. The whole flush rolled back — nothing was applied. Reload the entities, reapply the changes and commit again.

public sealed class ConcurrencyConflictException : Exception, ISerializable
Inheritance
ConcurrencyConflictException
Implements
Inherited Members

Constructors

ConcurrencyConflictException(long, long)

Initializes the exception.

public ConcurrencyConflictException(long expected, long affected)

Parameters

expected long

The number of rows the flush expected to affect.

affected long

The number of rows actually affected.

Properties

Affected

The number of rows actually affected.

public long Affected { get; }

Property Value

long

Expected

The number of rows the flush expected to affect.

public long Expected { get; }

Property Value

long