Język

OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity> Klasa

Definicja

Udostępnia prosty interfejs API do konfigurowania IMutableDbFunction typu jednostki, na który jest mapowany typ jednostki.

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

Parametry typu

TOwnerEntity

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

TDependentEntity

Zależny typ jednostki relacji.

Dziedziczenie
OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity>
Atrybuty
Implementuje
IInfrastructure<OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>>

Konstruktory

Nazwisko Opis
OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity>(IMutableDbFunction, OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>)

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.

Właściwości

Nazwisko Opis
Builder

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.

(Odziedziczone po DbFunctionBuilderBase)
Metadata

Konfigurowana funkcja.

(Odziedziczone po DbFunctionBuilderBase)

Metody

Nazwisko Opis
HasAnnotation(String, Object)

Dodaje lub aktualizuje adnotację w funkcji bazy danych. Jeśli adnotacja z kluczem określonym w annotation już istnieje, zostanie zaktualizowana jego wartość.

HasName(String)

Ustawia nazwę funkcji bazy danych.

HasParameter(String, Action<DbFunctionParameterBuilder>)

Zwraca obiekt, którego można użyć do skonfigurowania parametru o podanej nazwie. Jeśli nie istnieje żaden parametr o podanej nazwie, zostanie dodany nowy parametr.

HasParameter(String)

Zwraca obiekt, którego można użyć do skonfigurowania parametru o podanej nazwie. Jeśli nie istnieje żaden parametr o podanej nazwie, zostanie dodany nowy parametr.

(Odziedziczone po DbFunctionBuilderBase)
HasSchema(String)

Ustawia schemat funkcji bazy danych.

IsBuiltIn(Boolean)

Określa, czy funkcja bazy danych jest wbudowana.

Jawne implementacje interfejsu

Nazwisko Opis
IInfrastructure<IConventionDbFunctionBuilder>.Instance

Pobiera wartość ukrytej właściwości.

(Odziedziczone po DbFunctionBuilderBase)
IInfrastructure<OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>>.Instance

Udostępnia prosty interfejs API do konfigurowania IMutableDbFunction typu jednostki, na który jest mapowany typ jednostki.

IInfrastructure<OwnedNavigationBuilder>.Instance

Udostępnia prosty interfejs API do konfigurowania IMutableDbFunction typu jednostki, na który jest mapowany typ jednostki.

(Odziedziczone po OwnedNavigationTableValuedFunctionBuilder)

Metody rozszerzania

Nazwisko Opis
GetInfrastructure<T>(IInfrastructure<T>)

Pobiera wartość z właściwości ukrytej przy użyciu polecenia IInfrastructure<T>.

Ta metoda jest zwykle używana przez dostawców baz danych (i innych rozszerzeń). Zwykle nie jest używany w kodzie aplikacji.

Dotyczy