Exemplo n.º 1
0
 public void SaveConnection()
 {
     Settings.Default.ServerType = _servertype.ToString();
     Settings.Default.ServerIP   = _serverip;
     Settings.Default.pBaseAlias = _pdatabase;
     Settings.Default.fBaseAlias = _fdatabase;
     Settings.Default.Save();
 }
Exemplo n.º 2
0
    static TestFixtureData CreateTestFixtureData(FbServerType serverType, bool compression, FbWireCrypt wireCrypt)
    {
        var result = new TestFixtureData(serverType, compression, wireCrypt);

        result.Properties.Set(nameof(FbTestsBase.ServerType), serverType.ToString());
        result.Properties.Set(nameof(FbTestsBase.Compression), compression.ToString());
        result.Properties.Set(nameof(FbTestsBase.WireCrypt), wireCrypt.ToString());
        return(result);
    }