I am curious as to the effects of using IsolationLevel.Snapshot with SET READ_COMMITTED_SNAPSHOT ON on a database. The documentation for the IsolationLevel enumeration notes the behavior from Snapshot isolation, which is not what we are looking for in our situation.
Having enabled READ_COMMITTED_SNAPSHOT, should we specify IsolationLevel.Unspecified, or not provide this value at all? Or, if we DO specify IsolationLevel.Snapshot, will we realize the behavior expected with READ_COMMITTED_SNAPSHOT enabled?
Thanks!
If you enabled read_committed_snapshot at the DB level then all queries will have that default isolation level unless modified.
If you change the isolation level of the Query itself then the query will use the isolation level you modified it with.