private SqlConnection CreateConnection() { return(ConnectionUtils.CreateConnection()); }
private ExpirationManager CreateManager(bool useMicrosoftDataSqlClient) { var storage = new SqlServerStorage(() => ConnectionUtils.CreateConnection(useMicrosoftDataSqlClient)); return(new ExpirationManager(storage, TimeSpan.Zero)); }
private static DbConnection CreateConnection(bool useMicrosoftDataSqlClient) { return(ConnectionUtils.CreateConnection(useMicrosoftDataSqlClient)); }
private static CountersAggregator CreateAggregator(bool useMicrosoftDataSqlClient) { var storage = new SqlServerStorage(() => ConnectionUtils.CreateConnection(useMicrosoftDataSqlClient)); return(new CountersAggregator(storage, TimeSpan.Zero)); }