DataSourceIsolation Enum

Definition

Controls the locking behavior of the SQL statements issued to a data source.

public enum DataSourceIsolation
type DataSourceIsolation = 
Public Enum DataSourceIsolation
Inheritance
DataSourceIsolation

Fields

ReadCommitted 0

Specifies that statements cannot read data that has been modified, but not committed, by other transactions. This prevents dirty reads.

Snapshot 1

Specifies that the data read by any statement in a transaction is transactionally consistent, as if the statements in a transaction receive a snapshot of the committed data as it existed at the start of the transaction.

Remarks

Snapshot is data source dependant.

Applies to