From a8a9c25ef5c2790e19adc3a3f0b357d4f3cf78ad Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Wed, 11 Jun 2025 13:28:53 +0800 Subject: [PATCH 1/9] Update Directory.Build.props --- Directory.Build.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index b96a009..17b98ba 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -6,8 +6,8 @@ preview enable enable - 1.0.77 - 10.0.0-preview.3.25171.6 + 1.0.79-preview-20250610-235418 + 10.0.0-preview.5.25277.114 true true From 1a60a2e86ba839e64d20dc4f7b21e51d930219bf Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Tue, 17 Jun 2025 11:18:14 +0800 Subject: [PATCH 2/9] Update Directory.Build.props --- Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index 17b98ba..9ba444a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -6,7 +6,7 @@ preview enable enable - 1.0.79-preview-20250610-235418 + 1.0.79 10.0.0-preview.5.25277.114 true From 3c042790f9a808baf3d5833634ea6747525266ec Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Wed, 16 Jul 2025 07:56:21 +0800 Subject: [PATCH 3/9] feat: bump dependencies --- Directory.Build.props | 4 ++-- .../WeihanLi.EntityFramework.Test.csproj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 9ba444a..3038510 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -6,8 +6,8 @@ preview enable enable - 1.0.79 - 10.0.0-preview.5.25277.114 + 1.0.80 + 10.0.0-preview.6.25358.103 true true diff --git a/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj b/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj index 737d3c4..414b2a4 100644 --- a/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj +++ b/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj @@ -12,8 +12,8 @@ - - + + From d70cc9773b2255e106d1067e389f659ae2dd51c2 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Fri, 25 Jul 2025 23:45:36 +0800 Subject: [PATCH 4/9] feat: use slnx --- WeihanLi.EntityFramework.sln | 91 ----------------------------------- WeihanLi.EntityFramework.slnx | 12 +++++ build/build.cs | 2 +- 3 files changed, 13 insertions(+), 92 deletions(-) delete mode 100644 WeihanLi.EntityFramework.sln create mode 100644 WeihanLi.EntityFramework.slnx diff --git a/WeihanLi.EntityFramework.sln b/WeihanLi.EntityFramework.sln deleted file mode 100644 index adfa9ac..0000000 --- a/WeihanLi.EntityFramework.sln +++ /dev/null @@ -1,91 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29409.12 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WeihanLi.EntityFramework", "src\WeihanLi.EntityFramework\WeihanLi.EntityFramework.csproj", "{0BB1C3F3-50C6-4924-894C-0A9A7BA4E54A}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{40B7673F-5ACD-42E4-AE04-6C3AEEBC8546}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{46AED92E-94FC-409A-9CFB-C9CD4E59717D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WeihanLi.EntityFramework.Sample", "samples\WeihanLi.EntityFramework.Sample\WeihanLi.EntityFramework.Sample.csproj", "{0E013C55-6D52-4B68-B188-460B97DB1E48}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WeihanLi.EntityFramework.Test", "test\WeihanLi.EntityFramework.Test\WeihanLi.EntityFramework.Test.csproj", "{9DF6D464-63A7-487C-9763-4A212ADDFC4B}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{A1756F80-F25E-4ADC-A079-048FFCA5DBA6}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WeihanLi.EntityFramework.SourceGenerator", "src\WeihanLi.EntityFramework.SourceGenerator\WeihanLi.EntityFramework.SourceGenerator.csproj", "{010A98BE-1871-4E6F-8129-7A1C44C73423}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0BB1C3F3-50C6-4924-894C-0A9A7BA4E54A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0BB1C3F3-50C6-4924-894C-0A9A7BA4E54A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0BB1C3F3-50C6-4924-894C-0A9A7BA4E54A}.Debug|x64.ActiveCfg = Debug|Any CPU - {0BB1C3F3-50C6-4924-894C-0A9A7BA4E54A}.Debug|x64.Build.0 = Debug|Any CPU - {0BB1C3F3-50C6-4924-894C-0A9A7BA4E54A}.Debug|x86.ActiveCfg = Debug|Any CPU - {0BB1C3F3-50C6-4924-894C-0A9A7BA4E54A}.Debug|x86.Build.0 = Debug|Any CPU - {0BB1C3F3-50C6-4924-894C-0A9A7BA4E54A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0BB1C3F3-50C6-4924-894C-0A9A7BA4E54A}.Release|Any CPU.Build.0 = Release|Any CPU - {0BB1C3F3-50C6-4924-894C-0A9A7BA4E54A}.Release|x64.ActiveCfg = Release|Any CPU - {0BB1C3F3-50C6-4924-894C-0A9A7BA4E54A}.Release|x64.Build.0 = Release|Any CPU - {0BB1C3F3-50C6-4924-894C-0A9A7BA4E54A}.Release|x86.ActiveCfg = Release|Any CPU - {0BB1C3F3-50C6-4924-894C-0A9A7BA4E54A}.Release|x86.Build.0 = Release|Any CPU - {0E013C55-6D52-4B68-B188-460B97DB1E48}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0E013C55-6D52-4B68-B188-460B97DB1E48}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0E013C55-6D52-4B68-B188-460B97DB1E48}.Debug|x64.ActiveCfg = Debug|Any CPU - {0E013C55-6D52-4B68-B188-460B97DB1E48}.Debug|x64.Build.0 = Debug|Any CPU - {0E013C55-6D52-4B68-B188-460B97DB1E48}.Debug|x86.ActiveCfg = Debug|Any CPU - {0E013C55-6D52-4B68-B188-460B97DB1E48}.Debug|x86.Build.0 = Debug|Any CPU - {0E013C55-6D52-4B68-B188-460B97DB1E48}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0E013C55-6D52-4B68-B188-460B97DB1E48}.Release|Any CPU.Build.0 = Release|Any CPU - {0E013C55-6D52-4B68-B188-460B97DB1E48}.Release|x64.ActiveCfg = Release|Any CPU - {0E013C55-6D52-4B68-B188-460B97DB1E48}.Release|x64.Build.0 = Release|Any CPU - {0E013C55-6D52-4B68-B188-460B97DB1E48}.Release|x86.ActiveCfg = Release|Any CPU - {0E013C55-6D52-4B68-B188-460B97DB1E48}.Release|x86.Build.0 = Release|Any CPU - {9DF6D464-63A7-487C-9763-4A212ADDFC4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9DF6D464-63A7-487C-9763-4A212ADDFC4B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9DF6D464-63A7-487C-9763-4A212ADDFC4B}.Debug|x64.ActiveCfg = Debug|Any CPU - {9DF6D464-63A7-487C-9763-4A212ADDFC4B}.Debug|x64.Build.0 = Debug|Any CPU - {9DF6D464-63A7-487C-9763-4A212ADDFC4B}.Debug|x86.ActiveCfg = Debug|Any CPU - {9DF6D464-63A7-487C-9763-4A212ADDFC4B}.Debug|x86.Build.0 = Debug|Any CPU - {9DF6D464-63A7-487C-9763-4A212ADDFC4B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9DF6D464-63A7-487C-9763-4A212ADDFC4B}.Release|Any CPU.Build.0 = Release|Any CPU - {9DF6D464-63A7-487C-9763-4A212ADDFC4B}.Release|x64.ActiveCfg = Release|Any CPU - {9DF6D464-63A7-487C-9763-4A212ADDFC4B}.Release|x64.Build.0 = Release|Any CPU - {9DF6D464-63A7-487C-9763-4A212ADDFC4B}.Release|x86.ActiveCfg = Release|Any CPU - {9DF6D464-63A7-487C-9763-4A212ADDFC4B}.Release|x86.Build.0 = Release|Any CPU - {010A98BE-1871-4E6F-8129-7A1C44C73423}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {010A98BE-1871-4E6F-8129-7A1C44C73423}.Debug|Any CPU.Build.0 = Debug|Any CPU - {010A98BE-1871-4E6F-8129-7A1C44C73423}.Debug|x64.ActiveCfg = Debug|Any CPU - {010A98BE-1871-4E6F-8129-7A1C44C73423}.Debug|x64.Build.0 = Debug|Any CPU - {010A98BE-1871-4E6F-8129-7A1C44C73423}.Debug|x86.ActiveCfg = Debug|Any CPU - {010A98BE-1871-4E6F-8129-7A1C44C73423}.Debug|x86.Build.0 = Debug|Any CPU - {010A98BE-1871-4E6F-8129-7A1C44C73423}.Release|Any CPU.ActiveCfg = Release|Any CPU - {010A98BE-1871-4E6F-8129-7A1C44C73423}.Release|Any CPU.Build.0 = Release|Any CPU - {010A98BE-1871-4E6F-8129-7A1C44C73423}.Release|x64.ActiveCfg = Release|Any CPU - {010A98BE-1871-4E6F-8129-7A1C44C73423}.Release|x64.Build.0 = Release|Any CPU - {010A98BE-1871-4E6F-8129-7A1C44C73423}.Release|x86.ActiveCfg = Release|Any CPU - {010A98BE-1871-4E6F-8129-7A1C44C73423}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {0BB1C3F3-50C6-4924-894C-0A9A7BA4E54A} = {40B7673F-5ACD-42E4-AE04-6C3AEEBC8546} - {0E013C55-6D52-4B68-B188-460B97DB1E48} = {46AED92E-94FC-409A-9CFB-C9CD4E59717D} - {9DF6D464-63A7-487C-9763-4A212ADDFC4B} = {A1756F80-F25E-4ADC-A079-048FFCA5DBA6} - {010A98BE-1871-4E6F-8129-7A1C44C73423} = {40B7673F-5ACD-42E4-AE04-6C3AEEBC8546} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {201A8B4F-A16D-44B7-BB29-F9B9CFC2A467} - EndGlobalSection -EndGlobal diff --git a/WeihanLi.EntityFramework.slnx b/WeihanLi.EntityFramework.slnx new file mode 100644 index 0000000..43a0a82 --- /dev/null +++ b/WeihanLi.EntityFramework.slnx @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/build/build.cs b/build/build.cs index a54aab1..e0fa3d9 100644 --- a/build/build.cs +++ b/build/build.cs @@ -4,7 +4,7 @@ var noPush = CommandLineParser.BooleanVal("noPush", args); var branchName = EnvHelper.Val("BUILD_SOURCEBRANCHNAME", "local"); -var solutionPath = "./WeihanLi.EntityFramework.sln"; +var solutionPath = "./WeihanLi.EntityFramework.slnx"; string[] srcProjects = [ "./src/WeihanLi.EntityFramework/WeihanLi.EntityFramework.csproj" ]; From 6f46a3a7bee88972be7ade89dd984b5113d5cee0 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Sat, 2 Aug 2025 08:53:57 +0800 Subject: [PATCH 5/9] feat: support ignore named query filter fixes #79 --- .../Program.cs | 10 +++++-- .../TestDbContext.cs | 9 ++++++ .../EFRepositoryQueryBuilder.cs | 29 +++++++++++++++++-- 3 files changed, 42 insertions(+), 6 deletions(-) diff --git a/samples/WeihanLi.EntityFramework.Sample/Program.cs b/samples/WeihanLi.EntityFramework.Sample/Program.cs index f879aed..1c45fa1 100644 --- a/samples/WeihanLi.EntityFramework.Sample/Program.cs +++ b/samples/WeihanLi.EntityFramework.Sample/Program.cs @@ -21,10 +21,10 @@ public static class Program public static async Task Main(string[] args) { // SoftDeleteTest(); - // RepositoryTest(); + RepositoryTest(); // AutoAuditTest(); - await DbContextInterceptorSamples.RunAsync(); + // await DbContextInterceptorSamples.RunAsync(); Console.WriteLine("completed"); Console.ReadLine(); @@ -212,7 +212,7 @@ private static void RepositoryTest() var conn = db.Database.GetDbConnection(); try { - conn.Execute($@"TRUNCATE TABLE {tableName}"); + conn.Execute($"TRUNCATE TABLE {tableName}"); } catch { @@ -236,6 +236,10 @@ private static void RepositoryTest() { "Extra", "12345"} }); + var list = repo.Query(q => q.IgnoreQueryFilters(["not-null"])) + .ToArray(); + Console.WriteLine(list.Length); + repo.Update(x => x.SetProperty(_ => _.Extra, _ => "{}"), q => q.IgnoreQueryFilters()); var abc = db.TestEntities.AsNoTracking().ToArray(); diff --git a/samples/WeihanLi.EntityFramework.Sample/TestDbContext.cs b/samples/WeihanLi.EntityFramework.Sample/TestDbContext.cs index 9b4457d..2fc81c9 100644 --- a/samples/WeihanLi.EntityFramework.Sample/TestDbContext.cs +++ b/samples/WeihanLi.EntityFramework.Sample/TestDbContext.cs @@ -11,6 +11,15 @@ public TestDbContext(DbContextOptions options) : base(options) { } + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + base.OnModelCreating(modelBuilder); + modelBuilder.Entity() + // .HasQueryFilter("one-month-ago", t => t.CreatedAt > DateTime.Now.AddMonths(-1)) + .HasQueryFilter("not-null", t => t.Extra != null) + ; + } + public DbSet TestEntities { get; set; } = null!; } diff --git a/src/WeihanLi.EntityFramework/EFRepositoryQueryBuilder.cs b/src/WeihanLi.EntityFramework/EFRepositoryQueryBuilder.cs index b08e00f..248068f 100644 --- a/src/WeihanLi.EntityFramework/EFRepositoryQueryBuilder.cs +++ b/src/WeihanLi.EntityFramework/EFRepositoryQueryBuilder.cs @@ -1,8 +1,5 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Query; -using System; -using System.Collections.Generic; -using System.Linq; using System.Linq.Expressions; using WeihanLi.Common; @@ -55,6 +52,28 @@ public EFRepositoryQueryBuilder IgnoreQueryFilters(bool ignoreQueryFilt _ignoreQueryFilters = ignoreQueryFilters; return this; } + + private readonly HashSet _queryFiltersToIgnore = new(); + + public EFRepositoryQueryBuilder IgnoreQueryFilters(IReadOnlyCollection queryFilters, bool ignoreQueryFilters = true) + { + ArgumentNullException.ThrowIfNull(queryFilters); + if (ignoreQueryFilters) + { + foreach (var queryFilter in queryFilters) + { + _queryFiltersToIgnore.Add(queryFilter); + } + } + else + { + foreach (var queryFilter in queryFilters) + { + _queryFiltersToIgnore.Remove(queryFilter); + } + } + return this; + } private int _count; @@ -83,6 +102,10 @@ public IQueryable Build() { query = query.IgnoreQueryFilters(); } + else if (_queryFiltersToIgnore.Count > 0) + { + query = query.IgnoreQueryFilters(_queryFiltersToIgnore); + } if (_whereExpression.Count > 0) { foreach (var expression in _whereExpression) From 92cce93dc6b73c03a22529b850148ad11f36c6e5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 2 Aug 2025 00:54:39 +0000 Subject: [PATCH 6/9] Automated dotnet-format update from commit 6f46a3a7bee88972be7ade89dd984b5113d5cee0 on refs/heads/dev --- src/WeihanLi.EntityFramework/EFRepositoryQueryBuilder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WeihanLi.EntityFramework/EFRepositoryQueryBuilder.cs b/src/WeihanLi.EntityFramework/EFRepositoryQueryBuilder.cs index 248068f..8a5b434 100644 --- a/src/WeihanLi.EntityFramework/EFRepositoryQueryBuilder.cs +++ b/src/WeihanLi.EntityFramework/EFRepositoryQueryBuilder.cs @@ -52,9 +52,9 @@ public EFRepositoryQueryBuilder IgnoreQueryFilters(bool ignoreQueryFilt _ignoreQueryFilters = ignoreQueryFilters; return this; } - + private readonly HashSet _queryFiltersToIgnore = new(); - + public EFRepositoryQueryBuilder IgnoreQueryFilters(IReadOnlyCollection queryFilters, bool ignoreQueryFilters = true) { ArgumentNullException.ThrowIfNull(queryFilters); From b5d6d080674c76bb51b9cddc98a7d22da8c14873 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Sat, 2 Aug 2025 09:26:58 +0800 Subject: [PATCH 7/9] update sample --- samples/WeihanLi.EntityFramework.Sample/Program.cs | 14 +++++++++----- .../TestDbContext.cs | 1 + 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/samples/WeihanLi.EntityFramework.Sample/Program.cs b/samples/WeihanLi.EntityFramework.Sample/Program.cs index 1c45fa1..314c16c 100644 --- a/samples/WeihanLi.EntityFramework.Sample/Program.cs +++ b/samples/WeihanLi.EntityFramework.Sample/Program.cs @@ -236,15 +236,19 @@ private static void RepositoryTest() { "Extra", "12345"} }); - var list = repo.Query(q => q.IgnoreQueryFilters(["not-null"])) - .ToArray(); - Console.WriteLine(list.Length); - repo.Update(x => x.SetProperty(_ => _.Extra, _ => "{}"), q => q.IgnoreQueryFilters()); var abc = db.TestEntities.AsNoTracking().ToArray(); Console.WriteLine($"{string.Join(Environment.NewLine, abc.Select(_ => _.ToJson()))}"); - + + var entities = repo.Query(q => q.IgnoreQueryFilters(["not-null"])) + .ToArray(); + Console.WriteLine(entities.Length); + + entities = repo.Query(q => q.IgnoreQueryFilters()) + .ToArray(); + Console.WriteLine(entities.Length); + var data = repo.Query(q => q.WithPredictIf(f => f.Id > 0, false)).ToArray(); Console.WriteLine(JsonSerializer.Serialize(data)); diff --git a/samples/WeihanLi.EntityFramework.Sample/TestDbContext.cs b/samples/WeihanLi.EntityFramework.Sample/TestDbContext.cs index 2fc81c9..a7e0335 100644 --- a/samples/WeihanLi.EntityFramework.Sample/TestDbContext.cs +++ b/samples/WeihanLi.EntityFramework.Sample/TestDbContext.cs @@ -16,6 +16,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) base.OnModelCreating(modelBuilder); modelBuilder.Entity() // .HasQueryFilter("one-month-ago", t => t.CreatedAt > DateTime.Now.AddMonths(-1)) + .HasQueryFilter("valid-id", t => t.Id > 0) .HasQueryFilter("not-null", t => t.Extra != null) ; } From f0156ca0b8b633645d34c382af7d1cd9d98260b4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 2 Aug 2025 01:28:58 +0000 Subject: [PATCH 8/9] Automated dotnet-format update from commit 2cbfc919e7af0ec09019b96fb6dfca8909f000c3 on refs/heads/dev --- samples/WeihanLi.EntityFramework.Sample/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/WeihanLi.EntityFramework.Sample/Program.cs b/samples/WeihanLi.EntityFramework.Sample/Program.cs index 314c16c..117e3cf 100644 --- a/samples/WeihanLi.EntityFramework.Sample/Program.cs +++ b/samples/WeihanLi.EntityFramework.Sample/Program.cs @@ -240,15 +240,15 @@ private static void RepositoryTest() var abc = db.TestEntities.AsNoTracking().ToArray(); Console.WriteLine($"{string.Join(Environment.NewLine, abc.Select(_ => _.ToJson()))}"); - + var entities = repo.Query(q => q.IgnoreQueryFilters(["not-null"])) .ToArray(); Console.WriteLine(entities.Length); - + entities = repo.Query(q => q.IgnoreQueryFilters()) .ToArray(); Console.WriteLine(entities.Length); - + var data = repo.Query(q => q.WithPredictIf(f => f.Id > 0, false)).ToArray(); Console.WriteLine(JsonSerializer.Serialize(data)); From dd9d97c6c79eb34a2fa52582f0806ba366f43254 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Sat, 2 Aug 2025 09:32:17 +0800 Subject: [PATCH 9/9] feat: bump dependencies --- .../WeihanLi.EntityFramework.SourceGenerator.csproj | 4 ++-- .../WeihanLi.EntityFramework.Test.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/WeihanLi.EntityFramework.SourceGenerator/WeihanLi.EntityFramework.SourceGenerator.csproj b/src/WeihanLi.EntityFramework.SourceGenerator/WeihanLi.EntityFramework.SourceGenerator.csproj index 86b9662..c3ecf63 100644 --- a/src/WeihanLi.EntityFramework.SourceGenerator/WeihanLi.EntityFramework.SourceGenerator.csproj +++ b/src/WeihanLi.EntityFramework.SourceGenerator/WeihanLi.EntityFramework.SourceGenerator.csproj @@ -20,8 +20,8 @@ - - + + diff --git a/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj b/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj index 414b2a4..e400c7f 100644 --- a/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj +++ b/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj @@ -13,7 +13,7 @@ - +