Agliullov D. A. Lab Work 5 Hard #16

Closed
d.agliullov wants to merge 49 commits from Lab5_Hard into Lab4_Hard
Showing only changes of commit e43157e3d7 - Show all commits

View File

@ -4,6 +4,7 @@ using ConfectioneryDataModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -23,6 +24,7 @@ namespace ConfectioneryDatabaseImplement.Models
public int Id { get; private set; }
[ForeignKey("ClientId")]
public virtual List<Order> Orders { get; set; } = new();
public static Client? Create(ClientBindingModel model)