CosmosEntityTypeExtensions.GetDefaultTimeToLive(IReadOnlyEntityType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the default time to live in seconds at container scope.
public static int? GetDefaultTimeToLive (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetDefaultTimeToLive : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Nullable<int>
<Extension()>
Public Function GetDefaultTimeToLive (entityType As IReadOnlyEntityType) As Nullable(Of Integer)
Parameters
- entityType
- IReadOnlyEntityType
The entity type.
Returns
The time to live.
Applies to
Feedback
Submit and view feedback for