Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 28, 2012 01:24 AM by Decker Dong - MSFT
Member
102 Points
207 Posts
Dec 27, 2012 03:15 PM|LINK
I am trying to union two IQueryable(s) in vb.net (all previous responses are not working)
Dim listA as IQueryable
Dim listB as IQueryable
I need to union listA and listB.
Contributor
3421 Points
575 Posts
Dec 27, 2012 03:22 PM|LINK
listA.Union(listB)
Dec 27, 2012 03:32 PM|LINK
listA as a IQueryable will not give me Union from Intellisense in VS2010 vb.net (!?) It would seem to be that simple, but these IQueryables are Anonymous types...
listA.Union(listB) will not work, but thanks
All-Star
118619 Points
18779 Posts
Dec 28, 2012 01:24 AM|LINK
jjmonty I need to union listA and listB.
Hi,
If they don't belong to the same type with the same structures in their inner diagrams, You cannot do Union.
jjmonty
Member
102 Points
207 Posts
Union two IQueryable(s)
Dec 27, 2012 03:15 PM|LINK
I am trying to union two IQueryable(s) in vb.net (all previous responses are not working)
Dim listA as IQueryable
Dim listB as IQueryable
I need to union listA and listB.
inquisitive_...
Contributor
3421 Points
575 Posts
Re: Union two IQueryable(s)
Dec 27, 2012 03:22 PM|LINK
while(1)
jjmonty
Member
102 Points
207 Posts
Re: Union two IQueryable(s)
Dec 27, 2012 03:32 PM|LINK
listA as a IQueryable will not give me Union from Intellisense in VS2010 vb.net (!?) It would seem to be that simple, but these IQueryables are Anonymous types...
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Union two IQueryable(s)
Dec 28, 2012 01:24 AM|LINK
Hi,
If they don't belong to the same type with the same structures in their inner diagrams, You cannot do Union.