在上面的图像中,您可以看到来自Contracts的警告。我不认为这是合法的,因为this永远不可能是null。public class NHibernateIQueryableQueryBase<TEntity, TQuery, TQueryInterface> TQueryInterface
where TQueryI
我有一个数据库上下文来获取我的数据源。public class EFDataSource : DbContext public IDbSet<Product> Products { get; set; }在我的代码端,我有很多产品的查询条件Data get { return new EFDataSource().Products; }}
public class FilterByUser: IQuery<Product>