DelegateDecompiler
DelegateDecompiler copied to clipboard
A library which is able to decompile a delegate or a method body to its lambda representation
Hello, i have encountered an issue with DelegateDecompiler: When i try to test methods that use Decompile(), those tests are passing when i just run them, but when i try...
Upgraded from 0.29.1 to 0.30.0 and now receive this error No coercion operator is defined between types 'System.Int32' and 'System.Nullable`1[System.Boolean]'. [InvalidOperationException: No coercion operator is defined between types 'System.Int32' and...
When using SelectMany in a function marked with the Computed attribute, the following exception occurs. Does DelegateDecompiler.EntityFrameworkCore5 support SelectMany? I upgraded from EntityFramework 6 to EntityFrameworkCore 6 and this error...
I have a method like this: ``` [Computed] public bool ForWeek(DateTime? dateFrom, DatabaseContext ctx) { return DateFrom s.DateFrom) == DateFrom; } ``` Ignore the logic, its only for testing :)...
Hi @hazzik, I've been testing DD for awhile in some side-project and I've encountered a case where the decompilation processor returns call-instructions to the Native Linq API, like ``` call...
It seems like decompiling an expression like this results loosing the enum type of the constant `TestEnum.First`, and having only an `Int32` value of `1`. ``` public enum TestEnum {...
Currently I have to manually add each computed member name to a custom configuration. It would be nice if the ShouldDecompile method below could automatically determine which properties should be...
Issue https://github.com/hazzik/DelegateDecompiler/issues/52 Added `VisitConstant` method to `DecompileExpressionVisitor` class. If constant is `IQueryable` it value's expression should be visited. Added some logic to avoid infinite recursion (because EF `DbSet` expression is...
Hope you can help me with configuring the DelegateCompiler with EF6 and OData V4. As I understand it is necessary to add Decompile at the end of the query. I...
This is somewhat of a followup to #117. Support for simple assignments was added to 0.24.0, unfortunately it only works for the last assignment. The following sample results in the...