我在实体框架中工作。问题是我想从表A(AssetTransactions)获得那些与表B的属性LoggedInMonth(ReopeningValidations)不匹配的事务。请给我一个想法或替代查询
from transaction in dbContext.AssetsTransctions join validation on
dbContext.Reopening Validations on transaction.TransId equals
validation.AssetTransaction_TransId
where ((transaction.PurchaseDate <= pDAte &&
transaction.IsAvailable.Equals(true)) &&
(!(validation.LoggedInMonth.Equals(loggedMonthYear)))) select transaction