private static string GetConnectionString(
            IBuildPipelineRepositoryConfiguration configuration)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException("configuration");
            }

            return configuration.ConnectionString;
        }
 public DeploymentRepository(
     IBuildPipelineRepositoryConfiguration configuration)
     : base(GetConnectionString(configuration))
 {
 }