แชร์ผ่าน


DatasourceIsolation Enum

Definition

Controls the locking behavior of the SQL statements when executing commands against the data source.

public enum DatasourceIsolation
type DatasourceIsolation = 
Public Enum DatasourceIsolation
Inheritance
DatasourceIsolation

Fields

Name Value Description
ReadCommitted 1

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

Snapshot 2

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.

Applies to