// create singleton connection factory. internal static DbConnectionFactory GetSingleton (DbProviderFactory pvdrFactory) { lock (lockobj) { if (Instance == null) Instance = new SqliteConnectionFactory (pvdrFactory); return Instance; } }
// create singleton connection factory. internal static DbConnectionFactory GetSingleton(DbProviderFactory pvdrFactory) { lock (lockobj) { if (Instance == null) { Instance = new SqliteConnectionFactory(pvdrFactory); } return(Instance); } }