NHibernate query for subclass with linq or query over?

Use JoinQueryOver something like (untested): QueryOver() . JoinQueryOver(es=> es. Parameters) .

Where(p => p is IntegerParameter && p. Name == "SomeName") . Select(p=> p.

Value) actually, unless you have a restriction on EntityWithSettings you can just do a regular QueryOver.

Use JoinQueryOver. Something like (untested): QueryOver() . JoinQueryOver(es=> es.

Parameters) . Where(p => p is IntegerParameter && p. Name == "SomeName") .

Select(p=> p. Value); actually, unless you have a restriction on EntityWithSettings, you can just do a regular QueryOver.

How about var values = es. SelectMany(e => e. Parameters .

Where(p => p. Name == "SomeName") .OfType() . Select(p => p.

Value)).

That didn't work :( – Daniel Marbach Aug 3 at 19:21.

JoinQueryOver(x => x. Where(c => c. Var qoAlias = session.

JoinQueryOver(x => x. Where(() => categoryAlias. And(() =>!productAlias.

Var linq = (from product in session. Join category in session.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions