Advertisement
Guest User

Untitled

a guest
Apr 21st, 2015
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. this.HasMany(t => t.Recepten).WithMany(r => r.users).Map(m =>
  2. {
  3. m.ToTable("user_has_recepten");
  4. m.MapLeftKey("user_uid");
  5. m.MapRightKey("recepten_receptId");
  6. });
  7.  
  8. this.HasMany(t => t.Favorieten).WithMany(r => r.users).Map(m =>
  9. {
  10. m.ToTable("user_has_fav_recepten");
  11. m.MapLeftKey("user_uid");
  12. m.MapRightKey("recepten_receptId");
  13. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement