diff --git a/Directory.Build.props b/Directory.Build.props index 46760d4..3221c9a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -5,7 +5,7 @@ 12.0 - 2.0.6 + 2.0.7 2.0.0 2.0.0 Jon Sagara diff --git a/src/Sagara.Core.Data/Models/Entity.cs b/src/Sagara.Core.Data/Models/Entity.cs index 2a363c0..b4a7775 100644 --- a/src/Sagara.Core.Data/Models/Entity.cs +++ b/src/Sagara.Core.Data/Models/Entity.cs @@ -28,7 +28,7 @@ public abstract class Entity : IEntity [Timestamp] // Required by EF Core for SQL Server Timestamp functionality. #pragma warning disable CA1819 // Properties should not return arrays - public byte[] Timestamp { get; set; } = null!; + public byte[]? Timestamp { get; set; } #pragma warning restore CA1819 // Properties should not return arrays /// diff --git a/src/Sagara.Core.Data/Models/IEntity.cs b/src/Sagara.Core.Data/Models/IEntity.cs index 2ad6329..ae145bc 100644 --- a/src/Sagara.Core.Data/Models/IEntity.cs +++ b/src/Sagara.Core.Data/Models/IEntity.cs @@ -34,7 +34,7 @@ public interface IEntity /// // Justification: Required by EF Core for the SQL Server timestamp to function. #pragma warning disable CA1819 // Properties should not return arrays - byte[] Timestamp { get; set; } + byte[]? Timestamp { get; set; } #pragma warning restore CA1819 // Properties should not return arrays } diff --git a/src/Sagara.Core/Sagara.Core.csproj b/src/Sagara.Core/Sagara.Core.csproj index 393417f..16b15b6 100644 --- a/src/Sagara.Core/Sagara.Core.csproj +++ b/src/Sagara.Core/Sagara.Core.csproj @@ -30,10 +30,10 @@ - +