Link to home
Create AccountLog in
Avatar of Mgreenway
Mgreenway

asked on

Linq Many to many group and sum

I have 3 tables (that matter in my DB)

FantasyTeams
-FantasyTeamId PK
-TeamName

PitcherTeamMatrix
-MatrixId  PK
-FantasyTeamId
-PitcherId


Pitchers
-PitcherId
-PitcherName
-Wins


I am trying to get the sum of all wins for a specific FantasyTeam (i have the Id)
I just cant figure out how to go about it.

101 Linq samples just didnt clarify it for me...

ASKER CERTIFIED SOLUTION
Avatar of Ceiled
Ceiled
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account