Table of Contents

Class TimeToLiveAttribute

Namespace
eQuantic.Core.Data.Modeling
Assembly
eQuantic.Core.Data.dll

Declares the entity's default time-to-live (Cosmos DB container TTL).

[AttributeUsage(AttributeTargets.Class)]
public sealed class TimeToLiveAttribute : Attribute
Inheritance
TimeToLiveAttribute
Inherited Members

Constructors

TimeToLiveAttribute(int)

Declares the entity's default time-to-live (Cosmos DB container TTL).

public TimeToLiveAttribute(int seconds)

Parameters

seconds int

Properties

Seconds

The default TTL, in seconds.

public int Seconds { get; }

Property Value

int