Issue 328 in dblinq2007: DCR: Need support for string[].Contains(string)

1 view
Skip to first unread message

dblin...@googlecode.com

unread,
Feb 23, 2012, 12:44:34 AM2/23/12
to dblin...@googlegroups.com
Status: New
Owner: ----

New issue 328 by itsnatet...@gmail.com: DCR: Need support for
string[].Contains(string)
http://code.google.com/p/dblinq2007/issues/detail?id=328

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/

Reply all
Reply to author
Forward
0 new messages