Udostępnij przez


OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity> Klasa

Definicja

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

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
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>
Implementuje
IInfrastructure<OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>>

Konstruktory

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 wiedzieć, że może to spowodować błędy aplikacji podczas aktualizowania do nowej wersji programu Entity Framework Core.

Właściwości

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 wiedzieć, że może to spowodować błędy aplikacji podczas aktualizowania do nowej wersji programu Entity Framework Core.

(Odziedziczone po DbFunctionBuilderBase)
Metadata

Skonfigurowano funkcję.

(Odziedziczone po DbFunctionBuilderBase)

Metody

HasAnnotation(String, Object)

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

HasName(String)

Ustawia nazwę funkcji bazy danych.

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)
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.

HasSchema(String)

Ustawia schemat funkcji bazy danych.

IsBuiltIn(Boolean)

Określa, czy funkcja bazy danych jest wbudowana.

Jawne implementacje interfejsu

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 , do którego jest mapowany typ jednostki.

IInfrastructure<OwnedNavigationBuilder>.Instance

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

(Odziedziczone po OwnedNavigationTableValuedFunctionBuilder)

Metody rozszerzania

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 on używany w kodzie aplikacji.

Dotyczy