Not implemented Linq expression
See original GitHub issueHallo,
I isolated access to LiteDB in my code. And when I try to use lambda, as a parameter, this does not work.
static void test<T>(Driver driver, Func<T, bool> func)
{
var somethings = driver.Connection.Instance.GetCollection<GenericEntry<T>>(typeof(T).Name);
Expression<Func<GenericEntry<T>, bool>> exp = ge => func(ge.Entry);
var resultA = somethings.Find(exp).ToList();
}
thx
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
c# - Linq expression not supported
The problem is that when I use allItemsOver64 it says that this expression is not supported. I have a feeling that this error...
Read more >Expression.Not Method (System.Linq.Expressions)
If method is not null and it represents a non-void, static ( Shared in Visual Basic) method that takes one argument, it is...
Read more >NotImplementedException thrown if predicate passed into ...
Hi. I am running into a NotImplementedException exception any time I attempt to pass a predicate into any linq method, if it's called...
Read more >C# – The method or operation is not implemented while ...
i m trying to use linq to nhibernate 3 and i have made following linq query var a = (from c in Session.Query<ChoiceValue>()...
Read more >70722: ' The method or operation is not implemented. ...
Bug #70722, ' The method or operation is not implemented. ' when using LINQ with OrderBy. Submitted: 24 Oct 2013 23:43, Modified: 21...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I removed this
new()
contraints. It’s was valid a long time ago - I change all reflection lib. Need more tests but I beleave there is no problem with not usingnew()
(seedev
branch).Hi @mbdavid , it works! Thank you so much!