Skip to content

Commit ddc245f

Browse files
committed
.net 9.0
1 parent ab713d3 commit ddc245f

File tree

7 files changed

+45
-23
lines changed

7 files changed

+45
-23
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ updates:
1515
time: "02:00"
1616
timezone: "America/Chicago"
1717
open-pull-requests-limit: 10
18+
ignore:
19+
- dependency-name: "Microsoft.CodeAnalysis.CSharp.Scripting"
1820
groups:
1921
Azure:
2022
patterns:

.github/workflows/merge.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
github-token: "${{ secrets.GITHUB_TOKEN }}"
1919

2020
- name: Dependabot Auto-Merge PRs
21-
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
2221
run: gh pr merge --auto --merge "$PR_URL"
2322
env:
2423
PR_URL: ${{github.event.pull_request.html_url}}

EntityFrameworkCore.Generator.sln

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EntityFrameworkCore.Generat
1313
EndProject
1414
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{6A18343D-8DEC-4FCC-861E-FA8312E25153}"
1515
ProjectSection(SolutionItems) = preProject
16+
.github\dependabot.yml = .github\dependabot.yml
1617
src\Directory.Build.props = src\Directory.Build.props
1718
.github\workflows\dotnet.yml = .github\workflows\dotnet.yml
19+
.github\workflows\merge.yml = .github\workflows\merge.yml
1820
README.md = README.md
1921
EndProjectSection
2022
EndProject

sample/Tracker/Tracker.Core/Tracker.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageReference Include="AutoMapper" Version="13.0.1" />
1111
<PackageReference Include="FluentValidation" Version="11.10.0" />
1212
<PackageReference Include="Injectio" Version="3.3.0" PrivateAssets="all" />
13-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.11" />
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

sample/Tracker/Tracker.Scaffold/Tracker.Scaffold.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.11">
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0">
1212
<PrivateAssets>all</PrivateAssets>
1313
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1414
</PackageReference>
15-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.10" />
15+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
1616
</ItemGroup>
1717

1818
</Project>

src/EntityFrameworkCore.Generator.Core/EntityFrameworkCore.Generator.Core.csproj

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="[4.11.0]" />
10-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuite" Version="8.0.8" />
11-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite" Version="8.0.8" />
12-
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />
13-
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite" Version="8.0.4" />
14-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.8" />
15-
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql.NetTopologySuite" Version="8.0.2" />
16-
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.8" />
17-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.8" />
18-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.8" />
19-
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.4" />
20-
<PackageReference Include="Oracle.EntityFrameworkCore" Version="8.23.50" />
9+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="[4.8.0]" />
10+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0" />
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="9.0.0" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite" Version="9.0.0" />
14+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.0" />
15+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuite" Version="9.0.0" />
16+
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="9.0.0" />
17+
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.0-rc.2" />
18+
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite" Version="9.0.0-rc.2" />
19+
<PackageReference Include="Oracle.EntityFrameworkCore" Version="8.23.60" />
2120
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.2" />
22-
<PackageReference Include="YamlDotNet" Version="16.0.0" />
21+
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql.NetTopologySuite" Version="8.0.2" />
22+
<PackageReference Include="YamlDotNet" Version="16.2.0" />
2323
</ItemGroup>
2424

2525
</Project>

test/EntityFrameworkCore.Generator.Core.Tests/DatabaseFixture.cs

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.IO;
33
using System.Reflection;
44
using System.Text;
@@ -88,22 +88,41 @@ public void Dispose()
8888
}
8989

9090

91-
public void WriteInformation(string format, params object[] args)
91+
public void LogDebug(string format, params object[] args)
92+
{
93+
_logger.Write("DEBUG : ");
94+
_logger.WriteLine(format, args);
95+
}
96+
97+
public void LogError(string format, params object[] args)
98+
{
99+
_logger.Write("ERROR : ");
100+
_logger.WriteLine(format, args);
101+
}
102+
103+
public void LogError(Exception ex, string format, params object[] args)
104+
{
105+
_logger.Write("ERROR : ");
106+
_logger.WriteLine(format, args);
107+
_logger.WriteLine(ex.ToString());
108+
}
109+
110+
public void LogInformation(string format, params object[] args)
92111
{
93112
_logger.Write("INFO : ");
94113
_logger.WriteLine(format, args);
95114
}
96115

97-
public void WriteError(string format, params object[] args)
116+
public void LogTrace(string format, params object[] args)
98117
{
99-
_logger.Write("ERROR: ");
118+
_logger.Write("TRACE : ");
100119
_logger.WriteLine(format, args);
101120
}
102121

103-
public void WriteWarning(string format, params object[] args)
122+
public void LogWarning(string format, params object[] args)
104123
{
105124
_logger.Write("WARN : ");
106125
_logger.WriteLine(format, args);
107126
}
108127

109-
}
128+
}

0 commit comments

Comments
 (0)