Skip to content

Commit

Permalink
Update database/DevHome.Database/DatabaseModels/RepositoryManagement/…
Browse files Browse the repository at this point in the history
…Repository.cs

Co-authored-by: Ryan Shepherd <ryansh@microsoft.com>
  • Loading branch information
dhoehna and DefaultRyan authored Sep 28, 2024
1 parent 41a8d4e commit 856e0f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class Repository

public Guid? SourceControlClassId { get; set; }

public bool HasAssignedSourceControlProvider => SourceControlClassId == null ? false : SourceControlClassId.Value != Guid.Empty;
public bool HasAssignedSourceControlProvider => SourceControlClassId.GetValueOrDefault() != Guid.Empty;

public DateTime? CreatedUTCDate { get; set; }

Expand Down

0 comments on commit 856e0f0

Please sign in to comment.