linq2db / linq2db.EntityFrameworkCore

Bring power of Linq To DB to Entity Framework Core projects
MIT License
462 stars 38 forks source link

linq2db.EntityFramework poison the ef core change tracker #65

Closed Kirill-Maurin closed 3 years ago

Kirill-Maurin commented 4 years ago

Steps for reproduce:

  1. Execute linq2db query with .Include() and ,AsTracking()
  2. Execute linq2db query with .Include() and ,AsTracking()

Expected results: result of 1 == result of 2

Actual result: result of 1 == result of 2

Sample: https://github.com/Kirill-Maurin/linq2db.Sample/blob/a8c2561e379163915a4925e5a2aa91228170548f/linq2db.Sample.Tests/IdTests.cs#L88

sdanyliv commented 4 years ago

@Kirill-Maurin, could you please create PR with NUnit tests. I can not extract working test in reasonable amount of time.