Click or drag to resize

HoarderServiceClient.RepsertTitle Method

Replaces or inserts a title.

Namespace: Orthogonal.Hoarder.StdLib
Assembly: Orthogonal.Hoarder.StdLib (in Orthogonal.Hoarder.StdLib.dll) Version: 8.0.9
Syntax
C#
public Task<RepsertTitleResult> RepsertTitle(
	Title title
)

Parameters

title  Title
The full title object to be updated or inserted.

Return Value

Task<RepsertTitleResult>
The Title document after it has been replaced or inserted. If a missing or invalid 'id' key was posted, then the returned Title will have a valid automatically assigned 'id'.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if title is null.
Remarks

A Title will be inserted if its id does not exist in the database, otherwise a Title with the existing Id will be replaced.

See Also