Language

OwnedNavigationTemporalTableBuilder<TOwnerEntity,TDependentEntity>.HasPeriodStart メソッド

定義

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

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalPeriodPropertyBuilder HasPeriodStart(System.Linq.Expressions.Expression<Func<TDependentEntity,DateTime>> propertyExpression);
override this.HasPeriodStart : System.Linq.Expressions.Expression<Func<'DependentEntity, DateTime>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalPeriodPropertyBuilder
Public Overridable Function HasPeriodStart (propertyExpression As Expression(Of Func(Of TDependentEntity, DateTime))) As OwnedNavigationTemporalPeriodPropertyBuilder

パラメーター

propertyExpression
Expression<Func<TDependentEntity,DateTime>>

ピリオド開始プロパティ (entity => entity.PeriodStart) として構成するプロパティを表すラムダ式。

戻り値

期間の開始プロパティを構成するために使用できるオブジェクト。

注釈

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

適用対象