private void PromptLeftFilter()
{
var connMgr = ServiceManager.Instance.GetService<FdoConnectionManager>();
var conn = connMgr.GetConnection(this.SelectedLeftConnection);
using (var svc = conn.CreateFeatureService())
{
using (ClassDefinition cd = svc.GetClassByName(this.SelectedLeftSchema, this.SelectedLeftClass))
{
var expr = ExpressionEditor.EditExpression(conn, cd, null, txtLeftFilter.Text, ExpressionMode.Filter);
if (expr != null)
txtLeftFilter.Text = expr;
}
}
}