如果一个字段为两个不同字段的查询方法
public List<BLD_TKQualitySnapshot> GetBLDTKQualitySnapshotListForSourceTank(long jobId, string destinationTank) { var result = from entity in BOMDataBase.BLD_TKQualitySnapshots where entity.TankCode != destinationTank join sm in BOMDataBase.BLD_TKSnapshotMasters on entity.TKSnapshotMasterID equals sm.SnapshotMasterID where (sm.JobActionType == (int)JobAction.Released || sm.JobActionType == (int)JobAction.SwingFinish) && sm.JobID == jobId select entity; return result.ToList(); }