Skip to content

Commit

Permalink
Fix #1191
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeaugrand committed Sep 10, 2022
1 parent 1fc869e commit e147568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AzureIoTHubPortal.Domain/Base/EntityBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ namespace AzureIoTHub.Portal.Domain.Base
public abstract class EntityBase
{
[Key]
public string Id { get; set; }
public string Id { get; set; } = Guid.NewGuid().ToString();
}
}

0 comments on commit e147568

Please sign in to comment.