November Happy Hour will be moved to Thursday December 5th.

Free text search and .InField on block property in a page

Vote:
 

Having:

public class PageType : PageData
{
   public virtual string DontWannaSearch { get; set; }
   public virtual BlockType BlockProperty { get; set; }
}

public class BlockType : BlockData
{
   public virtual XhtmlString Description { get; set; }     
}

How do I make sure that a search is only performed in fields PageType.Name and PageType.BlockProperty.Description?

Doesn't seem that .InField(x=>x.BlockProperty.Description) helps?

Best regards

Miroslav

#194864
Edited, Jul 04, 2018 22:34
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.