Quantcast
Channel: Entity, Contains or intersect, is this query possible? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by iamnapo for Entity, Contains or intersect, is this query possible?

First add this to your project (for example to your controller): static Expression<Func<T, bool>> AnyOf<T>( params Expression<Func<T, bool>>[] expressions) { if...

View Article



Answer by ILikeCamelCase for Entity, Contains or intersect, is this query...

I agree with Stephen that you should cast the keyWords to lower first before comparing. But if you really need to do this with linq you can do something like this.var result = db.DAapp.Where(t =>...

View Article

Entity, Contains or intersect, is this query possible?

I have a list of string retreived this way :List<string> keyWords = db.MotCleRecherche.Select(t => t.MotClé).ToList();I also have a query that takes many parameters to be executed :object =...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images