4
I have the following tables:
**Aula**
Id
Nome
Data
**Avaliacao**
Aula_Id
Aluno_Id
Organizacao
Didatica
To get a Join of the tables I use the code:
var result = from a in mdc.SBE_AA_Aulas
join av in mdc.SBE_AA_AvaliacaoAlunos on a.id equals av.SBE_AA_Aula_id
select new
{
a,
av
};
Where Organization and Didactic are the notes.
I would like a consultation through Ingli, which brings an average of the Organization and Didactic of each class.
But I can’t do it.
You have an initial code where you get the objects of lessons and evaluations?
– Leonel Sanches da Silva
I added in the post!
– Diego Zanardo