Enum SqlIsolation
How a test is isolated from the database's committed state.
public enum SqlIsolation
- Extension Methods
Fields
None = 1No isolation. Writes persist, so provisioners are responsible for releasing what they created.
Transaction = 0The test runs on a connection with an open transaction that is rolled back when the test ends, so everything written through that connection never persists. Writes made through a different connection - for example by an application that owns its own - are not covered, so when the host registers applications, each one must be declared with ShareConnectionWith(params string[]) (or this strategy is rejected at run start).