Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat - extending decompilation to referenced queries #215

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Prev Previous commit
Fix TargetFrameworks different exceptions expected
magicmoux committed Nov 17, 2022
commit 41995caeb977ac1111f6f54c6c47b4b37317c154
Original file line number Diff line number Diff line change
@@ -85,7 +85,11 @@ public void TestFailingSubqueryAsVariableReference()
var query = env.Db.Set<Person>().Where(it => it.Animals.Intersect(referencedQuery).Any()).Decompile();

//VERIFY
#if EF_CORE
Assert.Throws<InvalidOperationException>(() => query.ToList());
#else
Assert.Throws<NotSupportedException>(() => query.ToList());
#endif
}
}