Пример #1
0
        public void SetUpFixture()
        {
            DB2ConnectionStringBuilder connectionStringBuilder = new DB2ConnectionStringBuilder();

            connectionStringBuilder.ConnectionString = "Server=testserver:50000;Database=SAMPLE";
            connectionStringBuilder.UserID           = "db2admin";
            connectionStringBuilder.Password         = "******";

            _connectionStringBuilder = connectionStringBuilder;
            _connection = _connectionStringBuilder.Open();
        }
Пример #2
0
        public void SetUpFixture()
        {
            DB2ConnectionStringBuilder connectionStringBuilder = new DB2ConnectionStringBuilder();

            connectionStringBuilder.ConnectionString = "Server=localhost:50000;Database=sample";
            connectionStringBuilder.UserID           = "db2inst1";
            connectionStringBuilder.Password         = "******";

            _connectionStringBuilder = connectionStringBuilder;
            _connection = _connectionStringBuilder.Open();
        }