Advertisement
Guest User

Untitled

a guest
Jul 16th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. HasMany(d => d.Alunos)
  2. .WithMany(a => a.Disciplinas)
  3. .Map(map =>
  4. {
  5. map.MapLeftKey("AlunoId");
  6. map.MapRightKey("DisciplinaId");
  7. map.ToTable("TBAlunoDisciplina");
  8. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement