在更新我并最终将其添加到数据库之前,我需要实现SCD
类型 2,这是我在拆分条件中的条件。RecordEndDate
但是即使它不满足条件它仍然会继续将它添加到数据库中
((PlateNo == Stage_PlateNo)) && (([Car Name] != [Stage_Model]) ||
([Manufacturer] != [Stage_Manufacturer]) ||
[Year Model] != Stage_Year ||
[Car Body Type] != Stage_BodyType ||
Transmission != Stage_Transmission ||
[Daily Rate (in Peso)] != Stage_DailyRate
)