Skip to content

Commit 39cdf5a

Browse files
authored
Merge pull request #1220 from progressonderwijs/robin/update-for-date-fields
Update type for date fields
2 parents d37b992 + 5db7be9 commit 39cdf5a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ProgressOnderwijsUtils/ProgressOnderwijsUtils.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<Import Project="..\NugetPackagesCommon.props" />
33
<PropertyGroup Label="Configuration">
4-
<Version>110.3.0</Version>
5-
<PackageReleaseNotes>Do not throw on accessing the Name of SqlConnectionContext to prevent errors on disposing.</PackageReleaseNotes>
4+
<Version>111.0.0</Version>
5+
<PackageReleaseNotes>Update SqlSystemTypeId.Date to use DateOnly type.</PackageReleaseNotes>
66
<Title>ProgressOnderwijsUtils</Title>
77
<Description>Collection of utilities developed by ProgressOnderwijs</Description>
88
<PackageTags>ProgressOnderwijs</PackageTags>

src/ProgressOnderwijsUtils/SchemaReflection/SqlSystemTypeIdExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ static readonly (Type clrType, SqlSystemTypeId typeId)[] typeLookup = {
6868
(typeof(uint), SqlSystemTypeId.Binary),
6969
(typeof(DateTime), SqlSystemTypeId.DateTime2),
7070
(typeof(DateTime), SqlSystemTypeId.DateTime),
71-
(typeof(DateTime), SqlSystemTypeId.Date),
71+
(typeof(DateOnly), SqlSystemTypeId.Date),
7272
(typeof(DateTime), SqlSystemTypeId.SmallDateTime),
7373
(typeof(DateTimeOffset), SqlSystemTypeId.DateTimeOffset),
7474
(typeof(decimal), SqlSystemTypeId.Decimal),

0 commit comments

Comments
 (0)