public static void Initialize(this IPersistent persistent, Guid?currentUserId = null) { persistent.Oid = Guid.NewGuid(); persistent.UpdateUserId = currentUserId; persistent.UpdateTime = DateTime.UtcNow; persistent.AfterConstruction(); }
public static void Initialize(this IPersistent persistent, Guid?currentUserId = null) { persistent.Oid = Guid.NewGuid(); persistent.UpdateUserId = currentUserId; persistent.UpdateTime = DateTime.UtcNow; persistent.AfterConstruction(); }