Show / Hide Table of Contents

Class TenantItemBase

Base class for an item that belongs to a tenant.

Inheritance
object
CosmosIdentityBase
TenantItemBase
ParentedItemBase
Implements
ITenantItem
ICosmosIdentity
ITenantItem<string>
IEntityIdentity<string>
IBlobOwner
Inherited Members
CosmosIdentityBase.Id
CosmosIdentityBase.TenantId
CosmosIdentityBase.TimestampUnixStyle
CosmosIdentityBase.Timestamp
CosmosIdentityBase.Etag
CosmosIdentityBase.EntityType
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 TenantItemBase : CosmosIdentityBase, ITenantItem, ICosmosIdentity, ITenantItem<string>, IEntityIdentity<string>, IBlobOwner

Methods

| Edit this page View Source

GetBlobPrefix()

Default blob prefix: "{TenantId}/{Id}/". Override in subclasses for different path conventions.

Declaration
public virtual string GetBlobPrefix()
Returns
Type Description
string
| Edit this page View Source

GetEntityTypeName()

Get the entity type name for this entity. This value will be the name of the class.

Declaration
protected override string GetEntityTypeName()
Returns
Type Description
string
Overrides
CosmosIdentityBase.GetEntityTypeName()

Implements

ITenantItem
ICosmosIdentity
Benday.Common.Interfaces.ITenantItem<TKey>
Benday.Common.Interfaces.IEntityIdentity<TKey>
Benday.Common.Interfaces.IBlobOwner
  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com