In an MVC project I have the following two tables:
CaseData (CaseId,CaseNo )
Invoice (InvoiceId, CaseId, Amount)
CaseId, the primary key in table CaseData is a foreign key in table Invoice. There is One to Many relationship between table CaseData and Invoice.
What I want to do is to show Sum Total of the field Amount against each record of the table CaseData in the Index view.
Please consider that I am using Entity Framework to access data in my project.
Suthish NairRank #93 · 22.6K pointsPosted Mar 22, 2016, 1:04 AM EDT
Arun Khatri5 pointsPosted Mar 22, 2016, 6:49 AM EDT
1 short reply
Arun Khatri5 pointsPosted Mar 22, 2016, 1:11 AM EDT