Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HasMany(d => d.Alunos)
- .WithMany(a => a.Disciplinas)
- .Map(map =>
- {
- map.MapLeftKey("AlunoId");
- map.MapRightKey("DisciplinaId");
- map.ToTable("TBAlunoDisciplina");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement