Hi everybody,

first of all thanks to the guys who replied me.
I'll describe a little more my problem so maybw someone can give me an
hint helping me to reach "the idea" I'm lacking.

class Bar {
    Foo Foo { get; set; }
}

abstract class Foo { }
class A : Foo { }
class B : Foo { }
class C : Foo { }

Given some criteria from the application user I need to:
1. select all the A matching the criteria
2. select all the B matching the criteria
3. select all the C matching the criteria
4. perform a UNION on them
5. select all the Bar whose .Foo is in the selection coming from 4 via a JOIN

Could you suggest me any way to do such stuff using LINQ?

Thanks in advance,
Giulio

--

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to