我想Users
通过它包含的布尔属性过滤此 LINQ 语句中的实体。那可能吗?
var Subscriber = db.Subscribers
.Include(s => s.Users)
.Include(s => s.SubscriberNotes)
.Include(s => s.Orders)
.Include(s => s.Websites.Select(w => w.DomainNames))
.Single(s => s.SubscriberId == id);
就像是Where S.Users.isOwner = true