From 71a53184a807e8ae10763574640c4b6c2b02b6ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Sun, 16 May 2021 23:29:03 +0300 Subject: [PATCH] Resolved #9041: Define DataFilter property to the ApplicationService base class. --- .../Volo/Abp/Application/Services/ApplicationService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/ApplicationService.cs b/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/ApplicationService.cs index 922b887bfa..821bff2ef3 100644 --- a/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/ApplicationService.cs +++ b/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/ApplicationService.cs @@ -10,6 +10,7 @@ using System.Threading.Tasks; using Volo.Abp.Aspects; using Volo.Abp.Auditing; using Volo.Abp.Authorization; +using Volo.Abp.Data; using Volo.Abp.DependencyInjection; using Volo.Abp.Features; using Volo.Abp.GlobalFeatures; @@ -59,6 +60,8 @@ namespace Volo.Abp.Application.Services protected ILoggerFactory LoggerFactory => LazyServiceProvider.LazyGetRequiredService(); protected ICurrentTenant CurrentTenant => LazyServiceProvider.LazyGetRequiredService(); + + protected IDataFilter DataFilter => LazyServiceProvider.LazyGetRequiredService(); protected ICurrentUser CurrentUser => LazyServiceProvider.LazyGetRequiredService();