internal static void SetFromPropertyValue(this TableFilter tableFilter, ref string propertyValue) { if (string.IsNullOrEmpty(propertyValue)) { return; } ///propertyValue = string.Format(" {0}", propertyValue); foreach (var tableRelationFilterLine in GetTableRelationFilters(ref propertyValue)) { tableFilter.Add(new TableFilterLine(tableRelationFilterLine.FieldName, tableRelationFilterLine.Type.ToEnum <SimpleTableFilterType>(), tableRelationFilterLine.Value)); } }