Created
June 20, 2014 14:41
-
-
Save moaschterle/2c6e37519f5094652185 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mysorted = (from x in mysoapclient.AllGames().OrderBy(x => x.dPlayDate).ThenBy(x => x.tPlayTime) | |
let y = x.Goals.OrderBy(z => z.iMinute) | |
select new ServiceReferenceFootBallPool.tGameInfo | |
{ | |
bChampion = x.bChampion, | |
Cards = x.Cards, | |
dPlayDate = x.dPlayDate, | |
Goals = y.ToArray(), | |
iId = x.iId, | |
iRedCards = x.iRedCards, | |
iYellowCards = x.iYellowCards, | |
sDescription = x.sDescription, | |
sResult = x.sResult, | |
sScore = x.sScore, | |
StadiumInfo = x.StadiumInfo, | |
Team1 = x.Team1, | |
Team2 = x.Team2, | |
tPlayTime = x.tPlayTime | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment