diff --git a/Directory.Build.props b/Directory.Build.props index 752bd63..d7e1781 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -6,8 +6,8 @@ latest enable enable - 1.0.68 - 8.0.8 + 1.0.71 + 8.0.10 true true 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 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"; 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) 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 9da108e..e6d10d4 100644 --- a/samples/WeihanLi.EntityFramework.Sample/WeihanLi.EntityFramework.Sample.csproj +++ b/samples/WeihanLi.EntityFramework.Sample/WeihanLi.EntityFramework.Sample.csproj @@ -10,7 +10,6 @@ - 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 @@ - - + +