4 writes to _internalTransaction
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (4)
809
_internalTransaction
= null;
1221
_internalTransaction
= null;
1242
_internalTransaction
= null;
2239
_internalTransaction
= _connection.BeginTransaction();
12 references to _internalTransaction
System.Data (12)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (12)
558
if(isInTransaction && null == _externalTransaction && null ==
_internalTransaction
&& (_connection.Parser != null && _connection.Parser.CurrentTransaction != null && _connection.Parser.CurrentTransaction.IsLocal)) {
805
Debug.Assert(
_internalTransaction
== null, "Internal transaction exists during dispose");
806
if (null !=
_internalTransaction
) {
807
_internalTransaction
.Rollback();
808
_internalTransaction
.Dispose();
1215
if (null !=
_internalTransaction
) {
1219
_internalTransaction
.Commit(); //commit.
1220
_internalTransaction
.Dispose();
1230
if (
_internalTransaction
!= null) {
1231
if (!
_internalTransaction
.IsZombied) {
1235
_internalTransaction
.Rollback();
1241
_internalTransaction
.Dispose();