共用方式為


UpdateMode type

Update 和 Upsert 方法的不同模式

  • 合併:藉由更新實體的屬性,而不取代現有的實體來更新實體。
  • 取代:藉由取代整個實體來更新現有的實體。
type UpdateMode = "Merge" | "Replace"