CosmosEntityTypeExtensions.GetDefaultTimeToLiveConfigurationSource 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.
Gets the ConfigurationSource for the default time to live in seconds at container scope.
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetDefaultTimeToLiveConfigurationSource(this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetDefaultTimeToLiveConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetDefaultTimeToLiveConfigurationSource (entityType As IConventionEntityType) As Nullable(Of ConfigurationSource)
Parameters
- entityType
- IConventionEntityType
The entity type to find configuration source for.
Returns
The ConfigurationSource for the default time to live.