Hi,
We have the following models
Material{
Guid Id,
IList<MaterialProperty> Properties
}
MaterialProperty{
Name
}
One to many between material and its properties.
I have a materil query like the following that's taking essentially
fetching taking paged number of items form database.
var qry = Session
.All<Material>()
.ApplyPagingAndFiltering(pagingOptions);
I would like to include in the result only those properties with name ==
'X'. How can I achieve that? Almost like I need a *FetchManyWhere *type of
method.
var lotsQryResult = qry
* .FetchManyWhere(ml=> ml.Properties)*
.ToList();
Could you anyone point me to the right direction?
NOTE: I would like to use IQueryable, instead of queryover if possible.
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.