Example #1
0
 public SqlServerGateway(IAppLogger <SqlServerGateway> logger)
 {
     Guard.Against.Null(logger, nameof(logger));
     _logger         = logger;
     _catalogGateway = new CatalogGateway(this);
     _tableGateway   = new TableGateway(this);
     _columnGateway  = new ColumnGateway(this);
     _serverGateway  = new ServerGateway(this);
     _domainGateway  = new DomainGateway(this);
 }
Example #2
0
        public override void CustomizeRecording()
        {
            gateway = new CatalogGateway();

            review = gateway.AddReview(reviewerName, reviewContent, rating, Recording.Id);

            try
            {
                gateway.AddReview(reviewerName, reviewContent, rating, Recording.Id);
            }
            catch (SoapException exception)
            {
                soapException = exception;
            }
        }
Example #3
0
    public new void SetUp()
    {
        base.SetUp();

        gateway = new CatalogGateway();

        review = gateway.AddReview(reviewerName, reviewContent, rating, Recording.Id);

        try
        {
            gateway.AddReview(reviewerName, reviewContent, rating, Recording.Id);
        }
        catch (SoapException exception)
        {
            soapException = exception;
        }
    }
Example #4
0
 public new void SetUp()
 {
     base.SetUp();
     gateway = new CatalogGateway();
 }
 public override void CustomizeRecording()
 {
     gateway = new CatalogGateway();
 }