CosmosEntityTypeBuilderExtensions.HasAnalyticalStoreTimeToLive メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
HasAnalyticalStoreTimeToLive(EntityTypeBuilder, Nullable<Int32>) |
コンテナー スコープで分析ストアの有効期間を秒単位で構成します。 |
HasAnalyticalStoreTimeToLive(IConventionEntityTypeBuilder, Nullable<Int32>, Boolean) |
コンテナー スコープで分析ストアの有効期間を秒単位で構成します。 |
HasAnalyticalStoreTimeToLive<TEntity>(EntityTypeBuilder<TEntity>, Nullable<Int32>) |
コンテナー スコープで分析ストアの有効期間を秒単位で構成します。 |
HasAnalyticalStoreTimeToLive(EntityTypeBuilder, Nullable<Int32>)
コンテナー スコープで分析ストアの有効期間を秒単位で構成します。
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder HasAnalyticalStoreTimeToLive (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, int? seconds);
static member HasAnalyticalStoreTimeToLive : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * Nullable<int> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function HasAnalyticalStoreTimeToLive (entityTypeBuilder As EntityTypeBuilder, seconds As Nullable(Of Integer)) As EntityTypeBuilder
パラメーター
- entityTypeBuilder
- EntityTypeBuilder
構成されているエンティティ型のビルダー。
戻り値
複数の呼び出しをチェーンできるように、同じビルダー インスタンス。
注釈
詳細と例については、「 エンティティの種類とリレーションシップのモデル化」および「 EF Core を使用した Azure Cosmos DB へのアクセス 」を参照してください。
適用対象
HasAnalyticalStoreTimeToLive(IConventionEntityTypeBuilder, Nullable<Int32>, Boolean)
コンテナー スコープで分析ストアの有効期間を秒単位で構成します。
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder? HasAnalyticalStoreTimeToLive (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, int? seconds, bool fromDataAnnotation = false);
static member HasAnalyticalStoreTimeToLive : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * Nullable<int> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder
<Extension()>
Public Function HasAnalyticalStoreTimeToLive (entityTypeBuilder As IConventionEntityTypeBuilder, seconds As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As IConventionEntityTypeBuilder
パラメーター
- entityTypeBuilder
- IConventionEntityTypeBuilder
構成されているエンティティ型のビルダー。
- fromDataAnnotation
- Boolean
構成がデータ注釈を使用して指定されたかどうかを示します。
戻り値
構成が適用された場合は同じビルダー インスタンス。 null
それ以外の場合は 。
注釈
詳細と例については、「 エンティティの種類とリレーションシップのモデル化」および「 EF Core を使用した Azure Cosmos DB へのアクセス 」を参照してください。
適用対象
HasAnalyticalStoreTimeToLive<TEntity>(EntityTypeBuilder<TEntity>, Nullable<Int32>)
コンテナー スコープで分析ストアの有効期間を秒単位で構成します。
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> HasAnalyticalStoreTimeToLive<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, int? seconds) where TEntity : class;
static member HasAnalyticalStoreTimeToLive : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * Nullable<int> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function HasAnalyticalStoreTimeToLive(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), seconds As Nullable(Of Integer)) As EntityTypeBuilder(Of TEntity)
型パラメーター
- TEntity
パラメーター
- entityTypeBuilder
- EntityTypeBuilder<TEntity>
構成されているエンティティ型のビルダー。
戻り値
複数の呼び出しをチェーンできるように、同じビルダー インスタンス。
注釈
詳細と例については、「 エンティティの種類とリレーションシップのモデル化」および「 EF Core を使用した Azure Cosmos DB へのアクセス 」を参照してください。
適用対象
Entity Framework