Example #1
0
 protected void FillServerObjectFilter(ServerObjectFilter filter)
 {
     if (Connection != null)
     {
         filter.ServerName.PredefinedValue = Connection.GetDataSource();
     }
 }
Example #2
0
        public override ObjectFilterBase GetFilter()
        {
            var res = new ServerObjectFilter();

            FillServerObjectFilter(res);
            res.ObjectType.PredefinedValue = TypeName;
            return(res);
        }