CosmosEntityTypeBuilderExtensions.CanSetAnalyticalStoreTimeToLive メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
分析ストアの有効期間を現在の構成ソースから設定できるかどうかを示す値を返します。
public static bool CanSetAnalyticalStoreTimeToLive (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, int? seconds, bool fromDataAnnotation = false);
static member CanSetAnalyticalStoreTimeToLive : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * Nullable<int> * bool -> bool
<Extension()>
Public Function CanSetAnalyticalStoreTimeToLive (entityTypeBuilder As IConventionEntityTypeBuilder, seconds As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Boolean
パラメーター
- entityTypeBuilder
- IConventionEntityTypeBuilder
構成されているエンティティ型のビルダー。
- fromDataAnnotation
- Boolean
構成がデータ注釈を使用して指定されたかどうかを示します。
戻り値
true
構成を適用できる場合は 。
注釈
詳細と例については、「 エンティティの種類とリレーションシップのモデリング」および「 EF Core を使用した Azure Cosmos DB へのアクセス 」を参照してください。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework