From 208806fe907071c8022592a9c72ca29c4a31241d Mon Sep 17 00:00:00 2001
From: Weihan Li <7604648+WeihanLi@users.noreply.github.com>
Date: Sat, 24 Aug 2024 16:32:18 +0800
Subject: [PATCH 1/8] Update ReleaseNotes.md
---
docs/ReleaseNotes.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/ReleaseNotes.md b/docs/ReleaseNotes.md
index 5cca1f9..6c0d49c 100644
--- a/docs/ReleaseNotes.md
+++ b/docs/ReleaseNotes.md
@@ -1,5 +1,7 @@
# Release Notes
+More changes: https://github.com/WeihanLi/WeihanLi.EntityFramework/pulls?q=is%3Apr+is%3Aclosed
+
## WeihanLi.EntityFramework
### [WeihanLi.EntityFramework 1.8.0](https://www.nuget.org/packages/WeihanLi.EntityFramework/1.8.0)
From b3395df51ec5cdd56dc973bc9f6a1204029a665b Mon Sep 17 00:00:00 2001
From: Weihan Li <7604648+WeihanLi@users.noreply.github.com>
Date: Sun, 25 Aug 2024 13:43:12 +0800
Subject: [PATCH 2/8] 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 752bd63..fc59095 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -6,7 +6,7 @@
latest
enable
enable
- 1.0.68
+ 1.0.69
8.0.8
true
From 43388c9fbe3c6ddb92626549838b9a44ad196285 Mon Sep 17 00:00:00 2001
From: Weihan Li <7604648+WeihanLi@users.noreply.github.com>
Date: Fri, 4 Oct 2024 08:48:09 +0800
Subject: [PATCH 3/8] 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 fc59095..90c0492 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -6,7 +6,7 @@
latest
enable
enable
- 1.0.69
+ 1.0.70
8.0.8
true
From dd58eb5ef76c206ae474af75ad50159c3a801e12 Mon Sep 17 00:00:00 2001
From: Weihan Li <7604648+WeihanLi@users.noreply.github.com>
Date: Thu, 10 Oct 2024 20:15:26 +0800
Subject: [PATCH 4/8] build: Update build.cs
---
build/build.cs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/build/build.cs b/build/build.cs
index c3136ba..a54aab1 100644
--- a/build/build.cs
+++ b/build/build.cs
@@ -1,7 +1,7 @@
-var target = CommandLineParser.Val("target", "Default", args);
-var apiKey = CommandLineParser.Val("apiKey", "", args);
-var stable = CommandLineParser.BooleanVal("stable", args: args);
-var noPush = CommandLineParser.BooleanVal("noPush", args: args);
+var target = CommandLineParser.Val("target", args, "Default");
+var apiKey = CommandLineParser.Val("apiKey", args);
+var stable = CommandLineParser.BooleanVal("stable", args);
+var noPush = CommandLineParser.BooleanVal("noPush", args);
var branchName = EnvHelper.Val("BUILD_SOURCEBRANCHNAME", "local");
var solutionPath = "./WeihanLi.EntityFramework.sln";
From 9be4948e2e3e00750019642f51a280d92d757839 Mon Sep 17 00:00:00 2001
From: Weihan Li <7604648+WeihanLi@users.noreply.github.com>
Date: Fri, 11 Oct 2024 16:59:21 +0800
Subject: [PATCH 5/8] 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 90c0492..d7e1781 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -6,8 +6,8 @@
latest
enable
enable
- 1.0.70
- 8.0.8
+ 1.0.71
+ 8.0.10
true
true
From 4eadeabcbe406f8252f2f01c27f284772cb98bef Mon Sep 17 00:00:00 2001
From: Weihan Li
Date: Sun, 13 Oct 2024 07:36:13 +0800
Subject: [PATCH 6/8] upgrade dependencies
---
.../WeihanLi.EntityFramework.Sample.csproj | 2 +-
.../WeihanLi.EntityFramework.Test.csproj | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/samples/WeihanLi.EntityFramework.Sample/WeihanLi.EntityFramework.Sample.csproj b/samples/WeihanLi.EntityFramework.Sample/WeihanLi.EntityFramework.Sample.csproj
index 9da108e..cbf6b65 100644
--- a/samples/WeihanLi.EntityFramework.Sample/WeihanLi.EntityFramework.Sample.csproj
+++ b/samples/WeihanLi.EntityFramework.Sample/WeihanLi.EntityFramework.Sample.csproj
@@ -10,7 +10,7 @@
-
+
diff --git a/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj b/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj
index 8881ac3..92f24c7 100644
--- a/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj
+++ b/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj
@@ -10,8 +10,8 @@
-
-
+
+
From e5cdc57ef66bd966510b3d227fa2d500fd7b8cc0 Mon Sep 17 00:00:00 2001
From: Weihan Li
Date: Sun, 13 Oct 2024 07:38:54 +0800
Subject: [PATCH 7/8] refactor: use default delegate console logger
- remove console logging reference
---
samples/WeihanLi.EntityFramework.Sample/Program.cs | 10 +++++-----
.../WeihanLi.EntityFramework.Sample.csproj | 1 -
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/samples/WeihanLi.EntityFramework.Sample/Program.cs b/samples/WeihanLi.EntityFramework.Sample/Program.cs
index 55bfad1..7ac0c29 100644
--- a/samples/WeihanLi.EntityFramework.Sample/Program.cs
+++ b/samples/WeihanLi.EntityFramework.Sample/Program.cs
@@ -29,7 +29,7 @@ private static void AutoAuditTest()
{
{
var services = new ServiceCollection();
- services.AddLogging(builder => builder.AddSimpleConsole());
+ services.AddLogging(builder => builder.AddDefaultDelegateLogger());
services.AddDbContext(options =>
{
options.UseSqlite("Data Source=AutoAuditTest1.db");
@@ -65,7 +65,7 @@ private static void AutoAuditTest()
ConsoleHelper.ReadLineWithPrompt();
{
var services = new ServiceCollection();
- services.AddLogging(builder => builder.AddSimpleConsole());
+ services.AddLogging(builder => builder.AddDefaultDelegateLogger());
services.AddDbContext((provider, options) =>
{
options.UseSqlite("Data Source=AutoAuditTest2.db");
@@ -104,7 +104,7 @@ private static void AutoAuditTest()
var services = new ServiceCollection();
services.AddLogging(loggingBuilder =>
{
- loggingBuilder.AddConsole();
+ loggingBuilder.AddDefaultDelegateLogger();
});
services.AddDbContext((provider, options) =>
{
@@ -180,7 +180,7 @@ private static void RepositoryTest()
var services = new ServiceCollection();
services.AddLogging(loggingBuilder =>
{
- loggingBuilder.AddConsole();
+ loggingBuilder.AddDefaultDelegateLogger();
});
services.AddDbContext((provider, options) =>
{
@@ -371,7 +371,7 @@ private static void SoftDeleteTest()
var services = new ServiceCollection();
services.AddLogging(loggingBuilder =>
{
- loggingBuilder.AddConsole();
+ loggingBuilder.AddDefaultDelegateLogger();
});
services.AddSingleton();
diff --git a/samples/WeihanLi.EntityFramework.Sample/WeihanLi.EntityFramework.Sample.csproj b/samples/WeihanLi.EntityFramework.Sample/WeihanLi.EntityFramework.Sample.csproj
index cbf6b65..e6d10d4 100644
--- a/samples/WeihanLi.EntityFramework.Sample/WeihanLi.EntityFramework.Sample.csproj
+++ b/samples/WeihanLi.EntityFramework.Sample/WeihanLi.EntityFramework.Sample.csproj
@@ -10,7 +10,6 @@
-
From debf11392ff8ba321fef89e4bbe505da46eb2799 Mon Sep 17 00:00:00 2001
From: Weihan Li <7604648+WeihanLi@users.noreply.github.com>
Date: Sun, 13 Oct 2024 07:46:52 +0800
Subject: [PATCH 8/8] docs: Update README.md
---
README.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 781e943..02ab971 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@
## Intro
-EntityFramework extensions
+[EntityFrameworkCore](https://github.com/dotnet/efcore) extensions
## Package Release Notes
@@ -26,7 +26,7 @@ https://github.com/WeihanLi/WeihanLi.EntityFramework/pulls?q=is%3Apr+is%3Aclosed
>
> For EF Core 5/6, use 2.x
>
-> For EF 7, use 3.0.0 and above
+> For EF 7, use 3.x
>
> For EF 8 and above, use 8.x or above major-version matched versions
@@ -51,7 +51,7 @@ https://github.com/WeihanLi/WeihanLi.EntityFramework/pulls?q=is%3Apr+is%3Aclosed
- AutoUpdate
- - Soft delete for specific entity
+ - Soft delete for the specific entity
- Auto update CreatedAt/UpdatedAt/CreatedBy/UpdatedBy
- Extensions
@@ -59,6 +59,6 @@ https://github.com/WeihanLi/WeihanLi.EntityFramework/pulls?q=is%3Apr+is%3Aclosed
- Update specific column(s) `Update`
- Update without specific column(s) `UpdateWithout`
-## Contact
+## Support
-contact me if you need
+Feel free to try and [create issues](https://github.com/WeihanLi/WeihanLi.EntityFramework/issues/new) if you have any questions or integration issues