Last active
July 15, 2019 20:08
-
-
Save uranio-235/40a12ad9fc1dcc879075dcbb5e687422 to your computer and use it in GitHub Desktop.
consulta
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
'LINQ to Entities does not recognize the method | |
'System.Data.Entity.DbSet`1[Unctad.eRegulations.Library.Models.Country.Media] Set[Media]()' | |
method, and this method cannot be translated into a store expression. |
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
// EF6 NO Core | |
_context.Set<SnapshotObject_Media>() | |
.SelectMany( | |
om => _context.Set<Media>(), | |
(om, m) => new { om = om, m = m } | |
).ToList(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment