Udostępnij za pośrednictwem


RelationalEntityTypeBuilderExtensions.ToFunction Metoda

Definicja

Przeciążenia

ToFunction(EntityTypeBuilder, MethodInfo, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction(OwnedNavigationBuilder, MethodInfo, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction(OwnedNavigationBuilder, MethodInfo, Action<OwnedNavigationTableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction(IConventionEntityTypeBuilder, String, Boolean)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction(IConventionEntityTypeBuilder, MethodInfo, Boolean)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction(OwnedNavigationBuilder, String)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction(OwnedNavigationBuilder, String, Action<OwnedNavigationTableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction(OwnedNavigationBuilder, MethodInfo)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction(EntityTypeBuilder, String)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction(EntityTypeBuilder, MethodInfo)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction(EntityTypeBuilder, String, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction(OwnedNavigationBuilder, String, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction<TEntity>(EntityTypeBuilder<TEntity>, String, Action<TableValuedFunctionBuilder<TEntity>>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction<TEntity>(EntityTypeBuilder<TEntity>, String, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction<TEntity>(EntityTypeBuilder<TEntity>, MethodInfo, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction<TEntity>(EntityTypeBuilder<TEntity>, String)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction<TEntity>(EntityTypeBuilder<TEntity>, MethodInfo, Action<TableValuedFunctionBuilder<TEntity>>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction<TEntity>(EntityTypeBuilder<TEntity>, MethodInfo)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>, MethodInfo)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>, String)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, MethodInfo, Action<OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity, TDependentEntity>>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, Action<OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity, TDependentEntity>>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction<TOwnerEntity,TRelatedEntity>(OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>, MethodInfo, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction<TOwnerEntity,TRelatedEntity>(OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>, String, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

ToFunction(EntityTypeBuilder, MethodInfo, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, System.Reflection.MethodInfo function, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> configureFunction);
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * System.Reflection.MethodInfo * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function ToFunction (entityTypeBuilder As EntityTypeBuilder, function As MethodInfo, configureFunction As Action(Of TableValuedFunctionBuilder)) As EntityTypeBuilder

Parametry

entityTypeBuilder
EntityTypeBuilder

Konstruktor dla skonfigurowanego typu jednostki.

function
MethodInfo

Metoda reprezentująca funkcję.

configureFunction
Action<TableValuedFunctionBuilder>

Akcja konfiguracji funkcji.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction(OwnedNavigationBuilder, MethodInfo, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, System.Reflection.MethodInfo function, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> configureFunction);
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * System.Reflection.MethodInfo * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToFunction (ownedNavigationBuilder As OwnedNavigationBuilder, function As MethodInfo, configureFunction As Action(Of TableValuedFunctionBuilder)) As OwnedNavigationBuilder

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder

Konstruktor dla skonfigurowanego typu jednostki.

function
MethodInfo

Metoda reprezentująca funkcję.

configureFunction
Action<TableValuedFunctionBuilder>

Akcja konfiguracji funkcji.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction(OwnedNavigationBuilder, MethodInfo, Action<OwnedNavigationTableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, System.Reflection.MethodInfo function, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableValuedFunctionBuilder> configureFunction);
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * System.Reflection.MethodInfo * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableValuedFunctionBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToFunction (ownedNavigationBuilder As OwnedNavigationBuilder, function As MethodInfo, configureFunction As Action(Of OwnedNavigationTableValuedFunctionBuilder)) As OwnedNavigationBuilder

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder

Konstruktor dla skonfigurowanego typu jednostki.

function
MethodInfo

Metoda reprezentująca funkcję.

configureFunction
Action<OwnedNavigationTableValuedFunctionBuilder>

Akcja konfiguracji funkcji.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction(IConventionEntityTypeBuilder, String, Boolean)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, string name, bool fromDataAnnotation = false);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder? ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, string? name, bool fromDataAnnotation = false);
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder
<Extension()>
Public Function ToFunction (entityTypeBuilder As IConventionEntityTypeBuilder, name As String, Optional fromDataAnnotation As Boolean = false) As IConventionEntityTypeBuilder

Parametry

entityTypeBuilder
IConventionEntityTypeBuilder

Konstruktor dla skonfigurowanego typu jednostki.

name
String

Nazwa funkcji.

fromDataAnnotation
Boolean

Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.

Zwraca

To samo wystąpienie konstruktora, jeśli konfiguracja została zastosowana, null w przeciwnym razie.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction(IConventionEntityTypeBuilder, MethodInfo, Boolean)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder? ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, System.Reflection.MethodInfo? function, bool fromDataAnnotation = false);
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * System.Reflection.MethodInfo * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder
<Extension()>
Public Function ToFunction (entityTypeBuilder As IConventionEntityTypeBuilder, function As MethodInfo, Optional fromDataAnnotation As Boolean = false) As IConventionEntityTypeBuilder

Parametry

entityTypeBuilder
IConventionEntityTypeBuilder

Konstruktor dla skonfigurowanego typu jednostki.

function
MethodInfo

Metoda reprezentująca funkcję.

fromDataAnnotation
Boolean

Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.

Zwraca

To samo wystąpienie konstruktora, jeśli konfiguracja została zastosowana, null w przeciwnym razie.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction(OwnedNavigationBuilder, String)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, string name);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, string? name);
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToFunction (ownedNavigationBuilder As OwnedNavigationBuilder, name As String) As OwnedNavigationBuilder

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder

Konstruktor dla skonfigurowanego typu jednostki.

name
String

Nazwa funkcji.

Zwraca

Konstruktor konfiguracji funkcji.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction(OwnedNavigationBuilder, String, Action<OwnedNavigationTableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableValuedFunctionBuilder> configureFunction);
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableValuedFunctionBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToFunction (ownedNavigationBuilder As OwnedNavigationBuilder, name As String, configureFunction As Action(Of OwnedNavigationTableValuedFunctionBuilder)) As OwnedNavigationBuilder

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder

Konstruktor dla skonfigurowanego typu jednostki.

name
String

Nazwa funkcji.

configureFunction
Action<OwnedNavigationTableValuedFunctionBuilder>

Akcja konfiguracji funkcji.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction(OwnedNavigationBuilder, MethodInfo)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, System.Reflection.MethodInfo? function);
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * System.Reflection.MethodInfo -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToFunction (ownedNavigationBuilder As OwnedNavigationBuilder, function As MethodInfo) As OwnedNavigationBuilder

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder

Konstruktor dla skonfigurowanego typu jednostki.

function
MethodInfo

Metoda reprezentująca funkcję.

Zwraca

Konstruktor konfiguracji funkcji.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction(EntityTypeBuilder, String)

Konfiguruje funkcję mapowania typu jednostki na wartość podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string name);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string? name);
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function ToFunction (entityTypeBuilder As EntityTypeBuilder, name As String) As EntityTypeBuilder

Parametry

entityTypeBuilder
EntityTypeBuilder

Konstruktor dla skonfigurowanego typu jednostki.

name
String

Nazwa funkcji.

Zwraca

Konstruktor konfiguracji funkcji.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction(EntityTypeBuilder, MethodInfo)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, System.Reflection.MethodInfo? function);
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * System.Reflection.MethodInfo -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function ToFunction (entityTypeBuilder As EntityTypeBuilder, function As MethodInfo) As EntityTypeBuilder

Parametry

entityTypeBuilder
EntityTypeBuilder

Konstruktor dla skonfigurowanego typu jednostki.

function
MethodInfo

Metoda reprezentująca funkcję.

Zwraca

Konstruktor konfiguracji funkcji.

Uwagi

Aby uzyskać więcej informacji i przykłady, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction(EntityTypeBuilder, String, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> configureFunction);
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function ToFunction (entityTypeBuilder As EntityTypeBuilder, name As String, configureFunction As Action(Of TableValuedFunctionBuilder)) As EntityTypeBuilder

Parametry

entityTypeBuilder
EntityTypeBuilder

Konstruktor dla konfigurowanego typu jednostki.

name
String

Nazwa funkcji.

configureFunction
Action<TableValuedFunctionBuilder>

Akcja konfiguracji funkcji.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji i przykłady, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction(OwnedNavigationBuilder, String, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToFunction (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> configureFunction);
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToFunction (ownedNavigationBuilder As OwnedNavigationBuilder, name As String, configureFunction As Action(Of TableValuedFunctionBuilder)) As OwnedNavigationBuilder

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder

Konstruktor dla konfigurowanego typu jednostki.

name
String

Nazwa funkcji.

configureFunction
Action<TableValuedFunctionBuilder>

Akcja konfiguracji funkcji.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction<TEntity>(EntityTypeBuilder<TEntity>, String, Action<TableValuedFunctionBuilder<TEntity>>)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToFunction<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder<TEntity>> configureFunction) where TEntity : class;
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder<'Entity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function ToFunction(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String, configureFunction As Action(Of TableValuedFunctionBuilder(Of TEntity))) As EntityTypeBuilder(Of TEntity)

Parametry typu

TEntity

Konfigurowany typ jednostki.

Parametry

entityTypeBuilder
EntityTypeBuilder<TEntity>

Konstruktor dla konfigurowanego typu jednostki.

name
String

Nazwa funkcji.

configureFunction
Action<TableValuedFunctionBuilder<TEntity>>

Akcja konfiguracji funkcji.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji i przykłady, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction<TEntity>(EntityTypeBuilder<TEntity>, String, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToFunction<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> configureFunction) where TEntity : class;
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function ToFunction(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String, configureFunction As Action(Of TableValuedFunctionBuilder)) As EntityTypeBuilder(Of TEntity)

Parametry typu

TEntity

Konfigurowany typ jednostki.

Parametry

entityTypeBuilder
EntityTypeBuilder<TEntity>

Konstruktor dla konfigurowanego typu jednostki.

name
String

Nazwa funkcji.

configureFunction
Action<TableValuedFunctionBuilder>

Akcja konfiguracji funkcji.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction<TEntity>(EntityTypeBuilder<TEntity>, MethodInfo, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToFunction<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, System.Reflection.MethodInfo function, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> configureFunction) where TEntity : class;
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * System.Reflection.MethodInfo * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function ToFunction(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), function As MethodInfo, configureFunction As Action(Of TableValuedFunctionBuilder)) As EntityTypeBuilder(Of TEntity)

Parametry typu

TEntity

Konfigurowany typ jednostki.

Parametry

entityTypeBuilder
EntityTypeBuilder<TEntity>

Konstruktor dla konfigurowanego typu jednostki.

function
MethodInfo

Metoda reprezentująca funkcję.

configureFunction
Action<TableValuedFunctionBuilder>

Akcja konfiguracji funkcji.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction<TEntity>(EntityTypeBuilder<TEntity>, String)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToFunction<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name) where TEntity : class;
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToFunction<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string? name) where TEntity : class;
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function ToFunction(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String) As EntityTypeBuilder(Of TEntity)

Parametry typu

TEntity

Konfigurowany typ jednostki.

Parametry

entityTypeBuilder
EntityTypeBuilder<TEntity>

Konstruktor dla konfigurowanego typu jednostki.

name
String

Nazwa funkcji.

Zwraca

Konstruktor konfiguracji funkcji.

Uwagi

Aby uzyskać więcej informacji i przykłady, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction<TEntity>(EntityTypeBuilder<TEntity>, MethodInfo, Action<TableValuedFunctionBuilder<TEntity>>)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToFunction<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, System.Reflection.MethodInfo function, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder<TEntity>> configureFunction) where TEntity : class;
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * System.Reflection.MethodInfo * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder<'Entity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function ToFunction(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), function As MethodInfo, configureFunction As Action(Of TableValuedFunctionBuilder(Of TEntity))) As EntityTypeBuilder(Of TEntity)

Parametry typu

TEntity

Konfigurowany typ jednostki.

Parametry

entityTypeBuilder
EntityTypeBuilder<TEntity>

Konstruktor dla konfigurowanego typu jednostki.

function
MethodInfo

Metoda reprezentująca funkcję.

configureFunction
Action<TableValuedFunctionBuilder<TEntity>>

Akcja konfiguracji funkcji.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji i przykłady, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction<TEntity>(EntityTypeBuilder<TEntity>, MethodInfo)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToFunction<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, System.Reflection.MethodInfo? function) where TEntity : class;
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * System.Reflection.MethodInfo -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function ToFunction(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), function As MethodInfo) As EntityTypeBuilder(Of TEntity)

Parametry typu

TEntity

Konfigurowany typ jednostki.

Parametry

entityTypeBuilder
EntityTypeBuilder<TEntity>

Konstruktor dla konfigurowanego typu jednostki.

function
MethodInfo

Metoda reprezentująca funkcję.

Zwraca

Konstruktor konfiguracji funkcji.

Uwagi

Aby uzyskać więcej informacji i przykłady, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>, MethodInfo)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ToFunction<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ownedNavigationBuilder, System.Reflection.MethodInfo? function) where TOwnerEntity : class where TDependentEntity : class;
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * System.Reflection.MethodInfo -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function ToFunction(Of TOwnerEntity As Class, TDependentEntity As Class) (ownedNavigationBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), function As MethodInfo) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

Parametry typu

TOwnerEntity

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

TDependentEntity

Zależny typ jednostki relacji.

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Konstruktor dla konfigurowanego typu jednostki.

function
MethodInfo

Metoda reprezentująca funkcję.

Zwraca

Konstruktor konfiguracji funkcji.

Uwagi

Aby uzyskać więcej informacji i przykłady, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>, String)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ToFunction<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ownedNavigationBuilder, string? name) where TOwnerEntity : class where TDependentEntity : class;
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function ToFunction(Of TOwnerEntity As Class, TDependentEntity As Class) (ownedNavigationBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), name As String) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

Parametry typu

TOwnerEntity

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

TDependentEntity

Zależny typ jednostki relacji.

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Konstruktor dla konfigurowanego typu jednostki.

name
String

Nazwa funkcji.

Zwraca

Konstruktor konfiguracji funkcji.

Uwagi

Aby uzyskać więcej informacji i przykłady, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, MethodInfo, Action<OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity, TDependentEntity>>)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ToFunction<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ownedNavigationBuilder, System.Reflection.MethodInfo function, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity>> configureFunction) where TOwnerEntity : class where TDependentEntity : class;
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * System.Reflection.MethodInfo * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableValuedFunctionBuilder<'OwnerEntity, 'DependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function ToFunction(Of TOwnerEntity As Class, TDependentEntity As Class) (ownedNavigationBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), function As MethodInfo, configureFunction As Action(Of OwnedNavigationTableValuedFunctionBuilder(Of TOwnerEntity, TDependentEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

Parametry typu

TOwnerEntity

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

TDependentEntity

Zależny typ jednostki relacji.

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Konstruktor dla konfigurowanego typu jednostki.

function
MethodInfo

Metoda reprezentująca funkcję.

configureFunction
Action<OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity>>

Akcja konfiguracji funkcji.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji i przykłady, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, Action<OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity, TDependentEntity>>)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ToFunction<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ownedNavigationBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity>> configureFunction) where TOwnerEntity : class where TDependentEntity : class;
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableValuedFunctionBuilder<'OwnerEntity, 'DependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function ToFunction(Of TOwnerEntity As Class, TDependentEntity As Class) (ownedNavigationBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), name As String, configureFunction As Action(Of OwnedNavigationTableValuedFunctionBuilder(Of TOwnerEntity, TDependentEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

Parametry typu

TOwnerEntity

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

TDependentEntity

Zależny typ jednostki relacji.

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Konstruktor dla konfigurowanego typu jednostki.

name
String

Nazwa funkcji.

configureFunction
Action<OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity>>

Akcja konfiguracji funkcji.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji i przykłady, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction<TOwnerEntity,TRelatedEntity>(OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>, MethodInfo, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity> ToFunction<TOwnerEntity,TRelatedEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity> referenceOwnershipBuilder, System.Reflection.MethodInfo function, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> configureFunction) where TOwnerEntity : class where TRelatedEntity : class;
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'RelatedEntity (requires 'OwnerEntity : null and 'RelatedEntity : null)> * System.Reflection.MethodInfo * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'RelatedEntity (requires 'OwnerEntity : null and 'RelatedEntity : null)> (requires 'OwnerEntity : null and 'RelatedEntity : null)
<Extension()>
Public Function ToFunction(Of TOwnerEntity As Class, TRelatedEntity As Class) (referenceOwnershipBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TRelatedEntity), function As MethodInfo, configureFunction As Action(Of TableValuedFunctionBuilder)) As OwnedNavigationBuilder(Of TOwnerEntity, TRelatedEntity)

Parametry typu

TOwnerEntity
TRelatedEntity

Parametry

referenceOwnershipBuilder
OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

Konstruktor dla konfigurowanego typu jednostki.

function
MethodInfo

Metoda reprezentująca funkcję.

configureFunction
Action<TableValuedFunctionBuilder>

Akcja konfiguracji funkcji.

Zwraca

OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

ToFunction<TOwnerEntity,TRelatedEntity>(OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>, String, Action<TableValuedFunctionBuilder>)

Konfiguruje funkcję mapowania typu jednostki na docelową relacyjną bazę danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TRelatedEntity> ToFunction<TEntity,TRelatedEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TRelatedEntity> referenceOwnershipBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> configureFunction) where TEntity : class where TRelatedEntity : class;
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity> ToFunction<TOwnerEntity,TRelatedEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity> referenceOwnershipBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> configureFunction) where TOwnerEntity : class where TRelatedEntity : class;
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'RelatedEntity (requires 'Entity : null and 'RelatedEntity : null)> * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'RelatedEntity (requires 'Entity : null and 'RelatedEntity : null)> (requires 'Entity : null and 'RelatedEntity : null)
static member ToFunction : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'RelatedEntity (requires 'OwnerEntity : null and 'RelatedEntity : null)> * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'RelatedEntity (requires 'OwnerEntity : null and 'RelatedEntity : null)> (requires 'OwnerEntity : null and 'RelatedEntity : null)
<Extension()>
Public Function ToFunction(Of TEntity As Class, TRelatedEntity As Class) (referenceOwnershipBuilder As OwnedNavigationBuilder(Of TEntity, TRelatedEntity), name As String, configureFunction As Action(Of TableValuedFunctionBuilder)) As OwnedNavigationBuilder(Of TEntity, TRelatedEntity)
<Extension()>
Public Function ToFunction(Of TOwnerEntity As Class, TRelatedEntity As Class) (referenceOwnershipBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TRelatedEntity), name As String, configureFunction As Action(Of TableValuedFunctionBuilder)) As OwnedNavigationBuilder(Of TOwnerEntity, TRelatedEntity)

Parametry typu

TEntity TOwnerEntity
TRelatedEntity

Typ jednostki, dla którego jest przeznaczona ta relacja.

Parametry

referenceOwnershipBuilder
OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

Konstruktor dla konfigurowanego typu jednostki.

name
String

Nazwa funkcji.

configureFunction
Action<TableValuedFunctionBuilder>

Akcja konfiguracji funkcji.

Zwraca

OwnedNavigationBuilder<TEntity,TRelatedEntity>
OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji, zobacz Modelowanie typów jednostek i relacji .

Dotyczy