Skip to content

Commit

Permalink
Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenRasmussen committed Nov 18, 2023
2 parents bc23990 + 50a2687 commit 7731a18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
include-prerelease: true
- name: Build with dotnet
run: dotnet build "./src/SimplerSoftware.EntityFrameworkCore.SqlServer.NodaTime.sln" --configuration Release
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public SqlServerNodaTimeTypeMappingSourcePlugin()
this.AddTypeMappingToDictionaries(this._durationTypeMapping);
}

public virtual RelationalTypeMapping FindMapping(in RelationalTypeMappingInfo mappingInfo)
public RelationalTypeMapping FindMapping(in RelationalTypeMappingInfo mappingInfo)
{
var clrType = mappingInfo.ClrType;
var storeTypeName = mappingInfo.StoreTypeName;
Expand Down Expand Up @@ -88,7 +88,7 @@ public virtual RelationalTypeMapping FindMapping(in RelationalTypeMappingInfo ma

// TODO: Cache size/precision/scale mappings?
return mappingInfo.Precision.HasValue && _hasPrecisionTypes.Contains(mapping.ClrType)
? mapping.Clone(mappingInfo, null)
? mapping.Clone(mappingInfo)
: mapping;
}

Expand Down

0 comments on commit 7731a18

Please sign in to comment.