Skip to content

Commit

Permalink
Address build warnings and minor misc. updates
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerHowellDfE committed Feb 10, 2024
1 parent 474ebc1 commit 4f7f0a7
Show file tree
Hide file tree
Showing 29 changed files with 1,351 additions and 142 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@ public DataContext(DbContextOptions<DataContext> options) : base(options)
internal DbSet<Entities.Person> People { get; set; } = null!;
internal DbSet<Entities.Portfolio> Portfolios { get; set; } = null!;

protected override void OnModelCreating(ModelBuilder builder)
{
base.OnModelCreating(builder);

builder
.Entity<Entities.AssessmentRequest>()
.ToTable("AssessmentRequests", b => b.IsTemporal());
}

public override Task<int> SaveChangesAsync(CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ internal class AssessmentRequest : BaseEntity
{
public Guid Id { get; set; } = Guid.Empty;

public string Name { get; set; } = string.Empty;
public string? Name { get; set; } = string.Empty;


public Guid? PhaseConcludingId { get; set; } = null;
Expand Down
Loading

0 comments on commit 4f7f0a7

Please sign in to comment.