Language

TemporalTableBuilder<TEntity>.HasPeriodEnd メソッド

定義

テンポラル テーブルにマップされたエンティティ型の期間終了プロパティを構成するために使用できるオブジェクトを返します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalPeriodPropertyBuilder HasPeriodEnd(System.Linq.Expressions.Expression<Func<TEntity,DateTime>> propertyExpression);
override this.HasPeriodEnd : System.Linq.Expressions.Expression<Func<'Entity, DateTime>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalPeriodPropertyBuilder
Public Overridable Function HasPeriodEnd (propertyExpression As Expression(Of Func(Of TEntity, DateTime))) As TemporalPeriodPropertyBuilder

パラメーター

propertyExpression
Expression<Func<TEntity,DateTime>>

period end プロパティ (blog => blog.PeriodEnd) として構成するプロパティを表すラムダ式。

戻り値

period end プロパティの構成に使用できるオブジェクト。

注釈

詳細と例については、「EF Core でのSQL Serverテンポラル テーブルの使用」を参照してください。

適用対象