protected override void SetConnectionString(string value) { FConnectionString = value; SqlCeConnectionStringBuilder builder = new SqlCeConnectionStringBuilder(value); tbDatabase.Text = builder.DataSource; tbPassword.Text = builder.Password; }
protected override string GetConnectionString() { SqlCeConnectionStringBuilder builder = new SqlCeConnectionStringBuilder(FConnectionString); builder.DataSource = tbDatabase.Text; builder.Password = tbPassword.Text; return(builder.ToString()); }
/// <inheritdoc/> public override string GetConnectionId() { SqlCeConnectionStringBuilder builder = new SqlCeConnectionStringBuilder(ConnectionString); return("SQL CE: " + builder.DataSource); }