From cccd9ba8e04024f59613f416a9f263ba291cf359 Mon Sep 17 00:00:00 2001 From: Kevin Matsubara Date: Sun, 6 Apr 2025 11:51:15 +0200 Subject: [PATCH] Change BaseDomainModel properties CreatedBy and ModifiedBy to be nullable. --- EntityFrameworkCore.Domain/BaseDomainModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EntityFrameworkCore.Domain/BaseDomainModel.cs b/EntityFrameworkCore.Domain/BaseDomainModel.cs index 0a7ea84..5aa641c 100644 --- a/EntityFrameworkCore.Domain/BaseDomainModel.cs +++ b/EntityFrameworkCore.Domain/BaseDomainModel.cs @@ -5,6 +5,6 @@ public abstract class BaseDomainModel public int Id { get; set; } // Anything called "Id" is automatically a Primary Key. public DateTime CreatedDate { get; set;} public DateTime ModifiedDate { get; set;} - public string CreatedBy { get; set; } - public string ModifiedBy { get; set; } + public string? CreatedBy { get; set; } + public string? ModifiedBy { get; set; } }