Click or drag to resize

IHoarderDocument Interface

The interface that must be implemented by all POCOs that represent a Cosmos DB document. There are currently only two: Title and Configuration2.

Namespace: Orthogonal.Hoarder.StdLib.Entity
Assembly: Orthogonal.Hoarder.StdLib (in Orthogonal.Hoarder.StdLib.dll) Version: 8.0.9
Syntax
C#
public interface IHoarderDocument

The IHoarderDocument type exposes the following members.

Properties
 NameDescription
Public propertyid The primary key Id of a document. Note that the property name is lower-case because there is currently no attribute that can map a property name of 'Id' to the mandatory Cosmos DB document primary key property name of 'id'.
Public propertyPk The partition key is always the fixed value "P1".
Public propertyType The type discriminator of the database document.
Top
See Also