How do I use Union in linq (vb.net)? -


i know how call union extension method, e.g.

dim r = productfirstchars.union(customerfirstchars) 

however do linq syntax, e.g.

from productfirstchars select ???? 

you can't - not linq operators supported in query expressions, , union 1 of isn't. (vb has language support more query operators c#, happens.) see the documentation list of supported query clauses.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -