Share via


CosmosEntityTypeExtensions.SetAnalyticalStoreTimeToLive メソッド

定義

オーバーロード

SetAnalyticalStoreTimeToLive(IMutableEntityType, Nullable<Int32>)

コンテナー スコープでの分析ストアの有効期間を秒単位で設定します。

SetAnalyticalStoreTimeToLive(IConventionEntityType, Nullable<Int32>, Boolean)

コンテナー スコープでの分析ストアの有効期間を秒単位で設定します。

SetAnalyticalStoreTimeToLive(IMutableEntityType, Nullable<Int32>)

コンテナー スコープでの分析ストアの有効期間を秒単位で設定します。

public static void SetAnalyticalStoreTimeToLive (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, int? seconds);
static member SetAnalyticalStoreTimeToLive : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Nullable<int> -> unit
<Extension()>
Public Sub SetAnalyticalStoreTimeToLive (entityType As IMutableEntityType, seconds As Nullable(Of Integer))

パラメーター

entityType
IMutableEntityType

エンティティの型。

seconds
Nullable<Int32>

設定する有効期間。

適用対象

SetAnalyticalStoreTimeToLive(IConventionEntityType, Nullable<Int32>, Boolean)

コンテナー スコープでの分析ストアの有効期間を秒単位で設定します。

public static void SetAnalyticalStoreTimeToLive (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, int? seconds, bool fromDataAnnotation = false);
public static int? SetAnalyticalStoreTimeToLive (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, int? seconds, bool fromDataAnnotation = false);
static member SetAnalyticalStoreTimeToLive : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Nullable<int> * bool -> unit
static member SetAnalyticalStoreTimeToLive : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Nullable<int> * bool -> Nullable<int>
<Extension()>
Public Sub SetAnalyticalStoreTimeToLive (entityType As IConventionEntityType, seconds As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetAnalyticalStoreTimeToLive (entityType As IConventionEntityType, seconds As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)

パラメーター

entityType
IConventionEntityType

エンティティの型。

seconds
Nullable<Int32>

設定する有効期間。

fromDataAnnotation
Boolean

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

適用対象