Связи с сущностями соавтора
This commit is contained in:
parent
0b29e90218
commit
572fac5725
@ -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; }
|
||||
|
||||
|
@ -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; }
|
||||
|
||||
|
@ -62,6 +62,5 @@ namespace HotelDataBaseImplement.Models
|
||||
MemberFIO = MemberFIO,
|
||||
Citizenship = Citizenship
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user