Facing problem with every fetch i want to make using EF Query model.Place here few links from where i can grab EF Query model concepts in short time. i.e how to query your MODEL/EDM.
NEED SOLUTION ::
I have a method in my controller having primary key as parameter say public action(int id)
now i want to fetch a list from table2(one to many relationship b/w table1 with primary key to table2 with foreign key) by matching that primary key with foreign key.(from data in db.table2
where package.id==id
select package)
I want to do this but in a neater terms(by using LINQ to ENTITY objects).
Facing problem with every fetch i want to make using EF Query model.Place here
Share
Something like this will do: