Umbraco Razor 查询 - 如何实现 "does not contain"?

Umbraco Razor query - how to implement "does not contain"?

在 Razor 中,我将如何编写查询 where property does not containexcludes

基本上是找相反的:

Where(x => x.GetProperty<String>("myCategory").Contains(myString))

嗯。除非我遗漏了什么:

Where(x => !x.GetProperty<String>("myCategory").Contains(myString))

:-)