1 instantiation of OdbcEnvironmentHandle
System.Data (1)
fx\src\data\System\Data\Odbc\OdbcEnvironment.cs (1)
30
globalEnvironmentHandle = new
OdbcEnvironmentHandle
();
8 references to OdbcEnvironmentHandle
System.Data (8)
fx\src\data\System\Data\Common\UnsafeNativeMethods.cs (1)
403
/*SQLHENV*/
OdbcEnvironmentHandle
EnvironmentHandle,
fx\src\data\System\Data\Odbc\OdbcConnectionHandle.cs (1)
36
internal OdbcConnectionHandle(OdbcConnection connection, OdbcConnectionString constr,
OdbcEnvironmentHandle
environmentHandle) : base(ODBC32.SQL_HANDLE.DBC, environmentHandle) {
fx\src\data\System\Data\Odbc\OdbcConnectionOpen.cs (1)
35
OdbcEnvironmentHandle
environmentHandle = OdbcEnvironment.GetGlobalEnvironmentHandle();
fx\src\data\System\Data\Odbc\OdbcEnvironment.cs (5)
22
static internal
OdbcEnvironmentHandle
GetGlobalEnvironmentHandle() {
23
OdbcEnvironmentHandle
globalEnvironmentHandle = _globalEnvironmentHandle as
OdbcEnvironmentHandle
;
28
globalEnvironmentHandle = _globalEnvironmentHandle as
OdbcEnvironmentHandle
;
41
(globalEnvironmentHandle as
OdbcEnvironmentHandle
).Dispose(); // internally refcounted so will happen correctly