// create singleton connection factory. internal static OdbcConnectionFactory GetSingleton (OdbcFactory pvdrFactory) { lock (lockobj) { if (Instance == null) Instance = new OdbcConnectionFactory (pvdrFactory); return Instance; } }
// create singleton connection factory. internal static OdbcConnectionFactory GetSingleton(OdbcFactory pvdrFactory) { lock (lockobj) { if (Instance == null) { Instance = new OdbcConnectionFactory(pvdrFactory); } return(Instance); } }
internal OdbcConnection (OdbcConnectionFactory factory) : base ( (DbConnectionFactory) factory) { Init (String.Empty); }