2
I have the procRetornaCliente process that receives the following parameters: Id, areaAtuacao, City.
Mapping it on EDMX, I got a Complex Type (procRetornaClienteModel
) with all fields mapped, but do not know how to make a query using the Entity Framework, I have already researched and every site makes a different example.
My structure is as follows:
using (DataBaseAdmin db = new DataBaseAdmin())
{
int id = Session["_id"];
String areaAtuacao = Session["_areaAtuacao"].ToString();
String Cidade = Session["_Cidade"].ToString();
}
This http://answall.com/a/23174/6026 has what you’re looking for.
– user6026