 | 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.EntityAssembly: Orthogonal.Hoarder.StdLib (in Orthogonal.Hoarder.StdLib.dll) Version: 8.0.9
Syntaxpublic interface IHoarderDocument
The IHoarderDocument type exposes the following members.
Properties | Name | Description |
---|
 | id |
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'.
|
 | Pk |
The partition key is always the fixed value "P1".
|
 | Type |
The type discriminator of the database document.
|
Top
See Also