public DataPointSqlRepository(IConnectionStringFactory connectionStringFactory)
 {
     _nameOrConnectionString = connectionStringFactory.GetNameOrConnectionString();
 }
        public DataPointMongoDbRepository(IConnectionStringFactory connectionStringFactory)
        {
            var connectionString = connectionStringFactory.GetNameOrConnectionString();

            Collection = GetCollection(connectionString);
        }