protected void FillServerObjectFilter(ServerObjectFilter filter) { if (Connection != null) { filter.ServerName.PredefinedValue = Connection.GetDataSource(); } }
public override ObjectFilterBase GetFilter() { var res = new ServerObjectFilter(); FillServerObjectFilter(res); res.ObjectType.PredefinedValue = TypeName; return(res); }