PIbd-21 Potapov N.S. LabWork07 #8
@ -17,6 +17,8 @@ namespace SecuritySystemDatabaseImplement.Models
|
||||
public string Password { get; private set; } = string.Empty;
|
||||
[ForeignKey("ClientId")]
|
||||
public virtual List<Order> Orders { get; set; } = new();
|
||||
[ForeignKey("ClientId")]
|
||||
public virtual List<MessageInfo> MessageInfos { get; set; } = new();
|
||||
public static Client? Create(ClientBindingModel model)
|
||||
{
|
||||
if (model == null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user