private void ConfigureFilters() { foreach (var dataFilter in dataFilterHandler.GetFilters()) { FluentSessionMappingConfig.Instance.Filters.Add(dataFilter.ToNhDataFilter()); } }
protected virtual void ApplyGlobalFilters() { foreach (var dataFilter in dataFilterHandler.GetFilters()) { if (dataFilter.IsEnabled) { EnableFilter(dataFilter.ToNhDataFilter()); } else { DisableFilter(dataFilter.Name); } } }