1 instantiation of OdbcEnvironmentHandle
System.Data.Odbc (1)
System\Data\Odbc\OdbcEnvironment.cs (1)
23
globalEnvironmentHandle = new
OdbcEnvironmentHandle
();
8 references to OdbcEnvironmentHandle
System.Data.Odbc (8)
src\libraries\Common\src\Interop\Interop.Odbc.cs (1)
346
/*SQLHENV*/
OdbcEnvironmentHandle
EnvironmentHandle,
System\Data\Odbc\OdbcConnectionHandle.cs (1)
23
internal OdbcConnectionHandle(OdbcConnection connection, OdbcConnectionString constr,
OdbcEnvironmentHandle
environmentHandle) : base(ODBC32.SQL_HANDLE.DBC, environmentHandle)
System\Data\Odbc\OdbcConnectionOpen.cs (1)
14
OdbcEnvironmentHandle
environmentHandle = OdbcEnvironment.GetGlobalEnvironmentHandle();
System\Data\Odbc\OdbcEnvironment.cs (5)
13
internal static
OdbcEnvironmentHandle
GetGlobalEnvironmentHandle()
15
OdbcEnvironmentHandle
? globalEnvironmentHandle = s_globalEnvironmentHandle as
OdbcEnvironmentHandle
;
20
globalEnvironmentHandle = s_globalEnvironmentHandle as
OdbcEnvironmentHandle
;
36
((
OdbcEnvironmentHandle
)globalEnvironmentHandle).Dispose(); // internally refcounted so will happen correctly