Click or drag to resize
ObjectTypeInfoUseUpsert Property
Indicates whether the object can use upsert. If not set, the value is inferred from IsBinding (only binding objects can use upsert by default). Setting this property to any value overrides the default behavior.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
public bool UseUpsert { get; set; }

Property Value

Type: Boolean
When set to true, objects with ID value set are updated as usual. If their ID is not set, then upsert is used.
See Also