3 writes to _sessionwrp
System.Data (3)
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (3)
111
_sessionwrp
= new SessionWrapper();
115
OleDbHResult hr = _datasrcwrp.InitializeAndCreateSession(constr, ref
_sessionwrp
);
133
_sessionwrp
= null;
17 references to _sessionwrp
System.Data (17)
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (17)
119
if ((0 <= hr) && !
_sessionwrp
.IsInvalid) { // process infonessage events
127
Debug.Assert(!
_sessionwrp
.IsInvalid, "bad Session");
131
if (null !=
_sessionwrp
) {
132
_sessionwrp
.Dispose();
151
return (null !=
_sessionwrp
);
196
Debug.Assert(null !=
_sessionwrp
, "IOpenRowset: null session");
197
return
_sessionwrp
.IOpenRowset(this);
209
Debug.Assert(null !=
_sessionwrp
, "IDBSchemaRowset: null session");
210
return
_sessionwrp
.IDBSchemaRowset(this);
216
Debug.Assert(null !=
_sessionwrp
, "ITransactionJoin: null session");
217
return
_sessionwrp
.ITransactionJoin(this);
223
Debug.Assert(null !=
_sessionwrp
, "IDBCreateCommand: null session");
226
OleDbHResult hr =
_sessionwrp
.CreateCommand(ref icommandText);
259
Debug.Assert(null !=
_sessionwrp
, "ITransactionLocal: null session");
260
unknown =
_sessionwrp
.ComWrapper();
298
if (null !=
_sessionwrp
) {
299
_sessionwrp
.Dispose();