Created
September 26, 2024 21:20
-
-
Save dontpaniclabsgists/802529bb816fbbd60eef5617db21f7c3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Db.Translations.GroupJoin( | |
db.StateVariations, | |
translation => translation.Id, | |
variation => variation.TranslationId, | |
(translation, variation) => new { translation, variations = variation }) | |
.Select(x => new CombinedDataObject | |
{ | |
Id = x.translation.Id, | |
EN = x.translation.EN, | |
Variations = Mapper(x.variations), | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment