Show / Hide Table of Contents

Class ParentedItemBase

Base class for an item that has both an owner and a parent entity. Inherits from OwnedItemBase and adds ParentId and ParentDiscriminator properties.

Inheritance
object
CosmosIdentityBase
OwnedItemBase
ParentedItemBase
Implements
IParentedItem
IOwnedItem
ICosmosIdentity
Inherited Members
OwnedItemBase.PartitionKey
OwnedItemBase.GetDiscriminatorName()
CosmosIdentityBase.Id
CosmosIdentityBase.OwnerId
CosmosIdentityBase.TimestampUnixStyle
CosmosIdentityBase.Timestamp
CosmosIdentityBase.Etag
CosmosIdentityBase.DiscriminatorValue
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Benday.CosmosDb.DomainModels
Assembly: Benday.CosmosDb.dll
Syntax
public abstract class ParentedItemBase : OwnedItemBase, IParentedItem, IOwnedItem, ICosmosIdentity

Properties

| Edit this page View Source

ParentDiscriminator

Discriminator/type of the parent entity

Declaration
public abstract string ParentDiscriminator { get; set; }
Property Value
Type Description
string
| Edit this page View Source

ParentId

Parent ID in our system

Declaration
public string ParentId { get; set; }
Property Value
Type Description
string

Implements

IParentedItem
IOwnedItem
ICosmosIdentity
  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com