public virtual House House { get; set; }}
人和房子之间有一个N:为了从我的库的用户中抽象PersonHouseMapping,因为它不像拥有导航属性那样干净,我已经通过Person类中可以看到的方法保护和公开了查询/添加功能。我不希望用户修改返回的集合,因为他们可能认为向"GetHouses“的结果添加一个新House将保存到DB中,但
例如,如果我必须从所有字段"(userId OR currentUserId) AND (customeromerId OR customercode customerbacth) AND (customerph或customer addrss ) AND customercity“中获取匹配文本的结果。如果我使用下面的代码,我得到的结果是根据关键字匹配的,而不考虑AND OR条件。$queryMsg = ['query_string' =