Связи с сущностями соавтора

This commit is contained in:
AnnZhimol 2023-04-02 16:46:56 +04:00
parent 0b29e90218
commit 572fac5725
3 changed files with 7 additions and 2 deletions

View File

@ -19,6 +19,9 @@ namespace HotelDataBaseImplement.Models
public virtual Organiser Organiser { get; set; }
[ForeignKey("ConferenceId")]
public virtual List<ConferenceBooking> ConferenceBookings { get; set; }
[ForeignKey("ConferenceId")]
public virtual List<ConferenceMember> Members { get; set; }

View File

@ -20,6 +20,9 @@ namespace HotelDataBaseImplement.Models
public virtual Organiser Organiser { get; set; }
[ForeignKey("MealPlanId")]
public virtual List<Room> Rooms { get; set; }
[ForeignKey("MealPlanId")]
public virtual List<MealPlanMember> Members { get; set; }

View File

@ -62,6 +62,5 @@ namespace HotelDataBaseImplement.Models
MemberFIO = MemberFIO,
Citizenship = Citizenship
};
}
}