Skip to content

Instantly share code, notes, and snippets.

@uranio-235
Last active July 15, 2019 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uranio-235/40a12ad9fc1dcc879075dcbb5e687422 to your computer and use it in GitHub Desktop.
Save uranio-235/40a12ad9fc1dcc879075dcbb5e687422 to your computer and use it in GitHub Desktop.
consulta
'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.
// 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