Связи с сущностями соавтора
This commit is contained in:
parent
0b29e90218
commit
572fac5725
@ -19,6 +19,9 @@ namespace HotelDataBaseImplement.Models
|
|||||||
|
|
||||||
public virtual Organiser Organiser { get; set; }
|
public virtual Organiser Organiser { get; set; }
|
||||||
|
|
||||||
|
[ForeignKey("ConferenceId")]
|
||||||
|
public virtual List<ConferenceBooking> ConferenceBookings { get; set; }
|
||||||
|
|
||||||
[ForeignKey("ConferenceId")]
|
[ForeignKey("ConferenceId")]
|
||||||
public virtual List<ConferenceMember> Members { get; set; }
|
public virtual List<ConferenceMember> Members { get; set; }
|
||||||
|
|
||||||
|
@ -20,6 +20,9 @@ namespace HotelDataBaseImplement.Models
|
|||||||
|
|
||||||
public virtual Organiser Organiser { get; set; }
|
public virtual Organiser Organiser { get; set; }
|
||||||
|
|
||||||
|
[ForeignKey("MealPlanId")]
|
||||||
|
public virtual List<Room> Rooms { get; set; }
|
||||||
|
|
||||||
[ForeignKey("MealPlanId")]
|
[ForeignKey("MealPlanId")]
|
||||||
public virtual List<MealPlanMember> Members { get; set; }
|
public virtual List<MealPlanMember> Members { get; set; }
|
||||||
|
|
||||||
|
@ -62,6 +62,5 @@ namespace HotelDataBaseImplement.Models
|
|||||||
MemberFIO = MemberFIO,
|
MemberFIO = MemberFIO,
|
||||||
Citizenship = Citizenship
|
Citizenship = Citizenship
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user