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

DCR: Need support for string[].Contains(string) #328

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 0 comments
Open

DCR: Need support for string[].Contains(string) #328

GoogleCodeExporter opened this issue Mar 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
THere is presently no supported way to do-

string[] names = {fred, joe, sam };

return (from p in db.GetTable<People>()
        where names.Contains(p.Name)
        select p).ToArray()

What is the expected output? What do you see instead?
No operator is defined for the 'Contains' method and query execution is haulted.

What version of the product are you using? On what operating system?
DbLinq 0.20.0 targeting MySql.Data 6.4.4.0

Please provide any additional information below.
If you need any more info visit my blog
http://wasntnate.com/2012/02/crashing-dblinq-with-embedded-query/ 

Original issue reported on code.google.com by [email protected] on 23 Feb 2012 at 5:43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant