I'm working with NH 3.0.0.4 and I need to perform a UNION, anyway it
seems to be not implemented. Could you link me where I can see if it
has been implemented in any more recent release?
Thanks,
Giulio
--
--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To post to this group, send email to nhu...@googlegroups.com.
To unsubscribe from this group, send email to nhusers+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
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
--
uhm... maybe I should have written something more. My bad. :-(
Let's say my hierarchy is more like this:
abstract class Foo {
string Something { ... }
}
class A : Foo {
string Label { ... }
}
class B : Foo {
string Widget { ... }
}
class C : Foo { }
the user sets a list of strings and I have to check if Foo.Something,
A.Label, B.Widget CONTAINS any of those strings, so I have to
specialize the query clause to subtypes.
Thanks,
Giulio
--