/// <inheritdoc/>
        protected override string GetConnectionString()
        {
            RavenDBConnectionStringBuilder builder = new RavenDBConnectionStringBuilder();

            builder.DatabaseName    = tbDatabase.Text;
            builder.Host            = tbHost.Text;
            builder.CertificatePath = tbCertificatePath.Text;
            builder.Password        = tbPassword.Text;
            return(builder.ToString());
        }
        /// <inheritdoc/>
        protected override void SetConnectionString(string value)
        {
            FConnectionString = value;
            RavenDBConnectionStringBuilder builder = new RavenDBConnectionStringBuilder(value);

            tbDatabase.Text        = builder.DatabaseName;
            tbHost.Text            = builder.Host;
            tbCertificatePath.Text = builder.CertificatePath;
            tbPassword.Text        = builder.Password;
        }
Exemplo n.º 3
0
        /// <inheritdoc/>
        public override string GetConnectionId()
        {
            RavenDBConnectionStringBuilder builder = new RavenDBConnectionStringBuilder(ConnectionString);

            return("RavenDB: " + builder.ToString());
        }