Język

OwnedNavigationTemporalTableBuilder<TOwnerEntity,TDependentEntity> Klasa

Definicja

Wystąpienia tej klasy są zwracane z metod podczas korzystania z interfejsu ModelBuilder API i nie są przeznaczone do bezpośredniego konstruowania w kodzie aplikacji.

[System.Runtime.CompilerServices.Nullable(0)]
public class OwnedNavigationTemporalTableBuilder<TOwnerEntity,TDependentEntity> : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalTableBuilder where TOwnerEntity : class where TDependentEntity : class
public class OwnedNavigationTemporalTableBuilder<TOwnerEntity,TDependentEntity> : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalTableBuilder where TOwnerEntity : class where TDependentEntity : class
[<System.Runtime.CompilerServices.Nullable(0)>]
type OwnedNavigationTemporalTableBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> = class
    inherit OwnedNavigationTemporalTableBuilder
type OwnedNavigationTemporalTableBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> = class
    inherit OwnedNavigationTemporalTableBuilder
Public Class OwnedNavigationTemporalTableBuilder(Of TOwnerEntity, TDependentEntity)
Inherits OwnedNavigationTemporalTableBuilder

Parametry typu

TOwnerEntity

Typ jednostki będącą właścicielem relacji.

TDependentEntity

Zależny typ jednostki relacji.

Dziedziczenie
OwnedNavigationTemporalTableBuilder<TOwnerEntity,TDependentEntity>
Atrybuty

Konstruktory

Nazwisko Opis
OwnedNavigationTemporalTableBuilder<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder)

Jest to wewnętrzny interfejs API, który obsługuje infrastrukturę Entity Framework Core i nie podlega tym samym standardom zgodności co publiczne interfejsy API. Można go zmienić lub usunąć bez powiadomienia w jakiejkolwiek wersji. Należy używać go bezpośrednio w kodzie z wyjątkową ostrożnością i wiedząc, że może to spowodować błędy aplikacji podczas aktualizowania do nowej wersji Entity Framework Core.

Metody

Nazwisko Opis
HasPeriodEnd(Expression<Func<TDependentEntity,DateTime>>)

Zwraca obiekt, który może służyć do konfigurowania właściwości końcowej okresu typu jednostki zamapowanego na tabelę czasową.

HasPeriodEnd(String)

Zwraca obiekt, który może służyć do konfigurowania właściwości końcowej okresu typu jednostki zamapowanego na tabelę czasową.

(Odziedziczone po OwnedNavigationTemporalTableBuilder)
HasPeriodStart(Expression<Func<TDependentEntity,DateTime>>)

Zwraca obiekt, którego można użyć do skonfigurowania właściwości rozpoczęcia okresu typu jednostki mapowanej na tabelę czasową.

HasPeriodStart(String)

Zwraca obiekt, którego można użyć do skonfigurowania właściwości rozpoczęcia okresu typu jednostki mapowanej na tabelę czasową.

(Odziedziczone po OwnedNavigationTemporalTableBuilder)
UseHistoryTable(String, String)

Konfiguruje tabelę historii dla jednostki mapowanej na tabelę czasową.

UseHistoryTable(String)

Konfiguruje tabelę historii dla jednostki mapowanej na tabelę czasową.

Dotyczy