Comments (12)
It seems to be working now 👍
from system.linq.dynamic.core.
@OlegNadymov
Can you provide the full "User" class?
from system.linq.dynamic.core.
from system.linq.dynamic.core.
@OlegNadymov
I could not test it 100% (due to missing User class), but I've updated the code.
Can you try 1.3.8-preview-02
?
from system.linq.dynamic.core.
you probably need 1.3.8-preview-03
from system.linq.dynamic.core.
Unfortunately, again ParseException: ')' or ',' expected
.
I see that now inner statements have the same number of quoutes (two):
{Param_0 => In(Param_0.Id, SubSelect("Identity", "LegalPerson", Concat(Concat("StaticHelper.In(ParentId, StaticHelper.SubSelect(""LegalPersonId"", ""PointSiteTD"", ""Identity = ", ToExpressionString(Get("CurrentPlace"), 2)), """, """"))"), ""))}
But in the old version they had one single quote:
{Param_0 => In(Param_0.Id, SubSelect("Identity", "LegalPerson", Concat(Concat("StaticHelper.In(ParentId, StaticHelper.SubSelect("LegalPersonId", "PointSiteTD", "Identity = ", ToExpressionString(Get("CurrentPlace"), 2)), "", ""))"), ""))}
So, when I try to DynamicInvoke the complied expression I have the exception here:
BTW, I use the same User class from your tests, but I've added new three properties as you did here:
#760
from system.linq.dynamic.core.
Can you try preview-4?
from system.linq.dynamic.core.
Thanks for verifying. Please do some more tests, and if it's working good, close this issue.
from system.linq.dynamic.core.
Ok! I'm trying to check if it works for a deeper level. I think, I don't have expressions with deeper levels. But I'm wondering if it works.
from system.linq.dynamic.core.
All my tests are passed successfully. So, I will be looking forward for release these features to upgrade your package on my production.
from system.linq.dynamic.core.
@OlegNadymov
I'll merge this PR to master.
I've no date yet on a new release. I'll keep you informed.
from system.linq.dynamic.core.
@StefH thanks for the information! 👍
from system.linq.dynamic.core.
Related Issues (20)
- Possible Memory Leak with ConstantExpressionHelper HOT 7
- No applicable method 'Datetime' exists in type from 1.3.6 version HOT 1
- Running into a ParseException in a WebGL build HOT 12
- Comparison on DateTime not accurate HOT 2
- Enhancements to SlidingCache<> for Improved Thread Safety and Performance HOT 8
- One problem after updating from v.1.0.8.18 HOT 1
- Static helper class with name as property doesn't work after updating from v.1.0.8.18 to 1.3.8 HOT 6
- Parse exceptions with (nested) static classes HOT 1
- Value typed property from subquery are casted as `object` HOT 4
- SelectMany collectionSelectorArgs not allowing context.Set<>() HOT 1
- C# Entity Framework Core - OrderBy and Where don't work with `[ComplexType]` HOT 6
- try to call function inside select HOT 3
- Basic performance consideration question HOT 1
- try to parse lambda with function inside .
- Performance Issue with EF Core 8.0 and Microsoft.EntityFrameworkCore.DynamicLinq Package HOT 8
- Question About Parameters HOT 4
- Parser interpreting the two consecutive escape sequences \"\" as a single escape sequence HOT 11
- query generated with dynamic linq not parse parameter linq as parameter sql !!! HOT 1
- Add JSON support HOT 9
- .NET 8 (and possible all non-NETSTANDARD and higher versions) attempt to load EF 6 types HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from system.linq.dynamic.core.