ISbd-21 Gordeev I.V. LabWork_05 Base #9

Closed
Igor_Gordeev wants to merge 7 commits from Lab_05 into Lab_04
Showing only changes of commit 64b7363a86 - Show all commits

View File

@ -19,9 +19,7 @@ namespace SushiBarDatabaseImplement.Models
[Required]
public string Password { get; private set; } = string.Empty;
[Required]
[ForeignKey("ClientId")]
[ForeignKey("ID")]
public virtual List<Order> Orders { get; set; } = new();
public static Client? Create(ClientBindingModel? model)