Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Pack
if: matrix.os == 'ubuntu-latest'
run: |
dotnet pack -v normal --configuration Release --include-symbols --include-source -p:PackageVersion=3-pre-$GITHUB_RUN_ID -o nupkg EntityFrameworkCore.Triggered.Core.slnf
dotnet pack -v normal --configuration Release --include-symbols --include-source -p:PackageVersion=5-pre-$GITHUB_RUN_ID -o nupkg EntityFrameworkCore.Triggered.Core.slnf
- name: Upload Artifact
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
</PropertyGroup>

<PropertyGroup>
<EFCorePackageVersion>9.0.3</EFCorePackageVersion>
<MicrosoftExtensionsVersion>9.0.3</MicrosoftExtensionsVersion>
<EFCorePackageVersion>10.0.9</EFCorePackageVersion>
<MicrosoftExtensionsVersion>10.0.9</MicrosoftExtensionsVersion>
</PropertyGroup>

</Project>
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# EntityFrameworkCore.Triggered
Triggers for EF Core. Respond to changes in your DbContext before and after they are committed to the database.

This is the [AutoGuru](https://github.com/autoguru-au)-maintained fork, targeting .NET 9 / EF Core 9. Published as `AutoGuru.*` NuGet packages.
This is the [AutoGuru](https://github.com/autoguru-au)-maintained fork, targeting .NET 10 / EF Core 10. Published as `AutoGuru.*` NuGet packages.

[![NuGet version (AutoGuru.EntityFrameworkCore.Triggered)](https://img.shields.io/nuget/v/AutoGuru.EntityFrameworkCore.Triggered.svg?style=flat-square)](https://www.nuget.org/packages/AutoGuru.EntityFrameworkCore.Triggered/)
[![Build status](https://github.com/autoguru-au/EntityFrameworkCore.Triggered/workflows/Build/badge.svg)](https://github.com/autoguru-au/EntityFrameworkCore.Triggered/actions?query=workflow%3ABuild)
Expand All @@ -20,7 +20,7 @@ This is the [AutoGuru](https://github.com/autoguru-au)-maintained fork, targetin
4. View our [samples](https://github.com/autoguru-au/EntityFrameworkCore.Triggered/tree/main/samples)
5. Check out our [wiki](https://github.com/autoguru-au/EntityFrameworkCore.Triggered/wiki) for tips and tricks on getting started and being successful.

> This fork targets .NET 9 / EF Core 9. Triggers are invoked automatically via EF Core's `ISaveChangesInterceptor`.
> This fork targets .NET 10 / EF Core 10. Triggers are invoked automatically via EF Core's `ISaveChangesInterceptor`.

### Example
```csharp
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<OutputType>Exe</OutputType>
<Nullable>disable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "9.0.200",
"version": "10.0.301",
"rollForward": "latestFeature"
}
}
2 changes: 1 addition & 1 deletion samples/1 - HelloWorld/1 - HelloWorld.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<RootNamespace>HelloWorld</RootNamespace>
<Nullable>disable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/2 - PrimarySchool/2 - PrimarySchool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<RootNamespace>PrimarySchool</RootNamespace>
<Nullable>disable</Nullable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<RootNamespace>StudentManager</RootNamespace>
<Nullable>disable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/4 - BlazorTests/4 - BlazorTests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<RootNamespace>BlazorTests</RootNamespace>
<Nullable>disable</Nullable>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions samples/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<EFCorePackageVersion>9.0.3</EFCorePackageVersion>
<EFCoreTriggeredPackageVersion Condition=" '$(EFCoreTriggeredPackageVersion )'=='' ">3.0.0</EFCoreTriggeredPackageVersion>
<EFCorePackageVersion>10.0.9</EFCorePackageVersion>
<EFCoreTriggeredPackageVersion Condition=" '$(EFCoreTriggeredPackageVersion )'=='' ">5.0.0</EFCoreTriggeredPackageVersion>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\Directory.Build.props" />

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<IsPackable>false</IsPackable>
<Nullable>disable</Nullable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<IsPackable>false</IsPackable>
<Nullable>disable</Nullable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<IsPackable>false</IsPackable>
<Nullable>disable</Nullable>
<!-- NU1903: SQLitePCLRaw.lib.e_sqlite3 2.1.11 (the latest stable, pulled transitively by
Microsoft.EntityFrameworkCore.Sqlite) carries a high-severity advisory for the bundled
native SQLite. This is test-only code that is never packaged, so we suppress the
advisory-as-error here rather than relaxing TreatWarningsAsErrors repo-wide. -->
<NoWarn>$(NoWarn);NU1903</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<IsPackable>false</IsPackable>
<Nullable>disable</Nullable>
</PropertyGroup>
Expand Down
Loading