RelationalEntityTypeBuilderExtensions.ToFunction メソッド

定義

オーバーロード

ToFunction(EntityTypeBuilder, MethodInfo, Action<TableValuedFunctionBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

ToFunction(OwnedNavigationBuilder, MethodInfo, Action<TableValuedFunctionBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

ToFunction(OwnedNavigationBuilder, MethodInfo, Action<OwnedNavigationTableValuedFunctionBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

ToFunction(IConventionEntityTypeBuilder, String, Boolean)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

ToFunction(IConventionEntityTypeBuilder, MethodInfo, Boolean)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

ToFunction(OwnedNavigationBuilder, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

ToFunction(OwnedNavigationBuilder, String, Action<OwnedNavigationTableValuedFunctionBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

ToFunction(OwnedNavigationBuilder, MethodInfo)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

ToFunction(EntityTypeBuilder, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

ToFunction(EntityTypeBuilder, MethodInfo)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

ToFunction(EntityTypeBuilder, String, Action<TableValuedFunctionBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

ToFunction(OwnedNavigationBuilder, String, Action<TableValuedFunctionBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

ToFunction(EntityTypeBuilder, MethodInfo, Action<TableValuedFunctionBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

パラメーター

entityTypeBuilder
EntityTypeBuilder

構成されているエンティティ型のビルダー。

function
MethodInfo

関数を表す メソッド。

configureFunction
Action<TableValuedFunctionBuilder>

関数構成アクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToFunction(OwnedNavigationBuilder, MethodInfo, Action<TableValuedFunctionBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

function
MethodInfo

関数を表す メソッド。

configureFunction
Action<TableValuedFunctionBuilder>

関数構成アクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細については、「 エンティティ型とリレーションシップのモデリング 」を参照してください。

適用対象

ToFunction(OwnedNavigationBuilder, MethodInfo, Action<OwnedNavigationTableValuedFunctionBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

function
MethodInfo

関数を表す メソッド。

configureFunction
Action<OwnedNavigationTableValuedFunctionBuilder>

関数構成アクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToFunction(IConventionEntityTypeBuilder, String, Boolean)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

パラメーター

entityTypeBuilder
IConventionEntityTypeBuilder

構成されているエンティティ型のビルダー。

name
String

関数の名前です。

fromDataAnnotation
Boolean

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

構成が適用された場合は同じビルダー インスタンス。 null それ以外の場合は 。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToFunction(IConventionEntityTypeBuilder, MethodInfo, Boolean)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

パラメーター

entityTypeBuilder
IConventionEntityTypeBuilder

構成されているエンティティ型のビルダー。

function
MethodInfo

関数を表す メソッド。

fromDataAnnotation
Boolean

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

構成が適用された場合は同じビルダー インスタンス。 null それ以外の場合は 。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToFunction(OwnedNavigationBuilder, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

name
String

関数の名前です。

戻り値

関数構成ビルダー。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToFunction(OwnedNavigationBuilder, String, Action<OwnedNavigationTableValuedFunctionBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

name
String

関数の名前です。

configureFunction
Action<OwnedNavigationTableValuedFunctionBuilder>

関数構成アクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToFunction(OwnedNavigationBuilder, MethodInfo)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

function
MethodInfo

関数を表す メソッド。

戻り値

関数構成ビルダー。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToFunction(EntityTypeBuilder, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

パラメーター

entityTypeBuilder
EntityTypeBuilder

構成されているエンティティ型のビルダー。

name
String

関数の名前です。

戻り値

関数構成ビルダー。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToFunction(EntityTypeBuilder, MethodInfo)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

パラメーター

entityTypeBuilder
EntityTypeBuilder

構成されているエンティティ型のビルダー。

function
MethodInfo

関数を表す メソッド。

戻り値

関数構成ビルダー。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToFunction(EntityTypeBuilder, String, Action<TableValuedFunctionBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

パラメーター

entityTypeBuilder
EntityTypeBuilder

構成されているエンティティ型のビルダー。

name
String

関数の名前です。

configureFunction
Action<TableValuedFunctionBuilder>

関数構成アクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToFunction(OwnedNavigationBuilder, String, Action<TableValuedFunctionBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

name
String

関数の名前です。

configureFunction
Action<TableValuedFunctionBuilder>

関数構成アクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細については、「 モデリング エンティティの型とリレーションシップ 」を参照してください。

適用対象

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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)

型パラメーター

TEntity

構成対象のエンティティ型。

パラメーター

entityTypeBuilder
EntityTypeBuilder<TEntity>

構成されているエンティティ型のビルダー。

name
String

関数の名前です。

configureFunction
Action<TableValuedFunctionBuilder<TEntity>>

関数構成アクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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)

型パラメーター

TEntity

構成対象のエンティティ型。

パラメーター

entityTypeBuilder
EntityTypeBuilder<TEntity>

構成されているエンティティ型のビルダー。

name
String

関数の名前です。

configureFunction
Action<TableValuedFunctionBuilder>

関数構成アクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細については、「 モデリング エンティティの型とリレーションシップ 」を参照してください。

適用対象

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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)

型パラメーター

TEntity

構成対象のエンティティ型。

パラメーター

entityTypeBuilder
EntityTypeBuilder<TEntity>

構成されているエンティティ型のビルダー。

function
MethodInfo

関数を表す メソッド。

configureFunction
Action<TableValuedFunctionBuilder>

関数構成アクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細については、「 モデリング エンティティの型とリレーションシップ 」を参照してください。

適用対象

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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)

型パラメーター

TEntity

構成対象のエンティティ型。

パラメーター

entityTypeBuilder
EntityTypeBuilder<TEntity>

構成されているエンティティ型のビルダー。

name
String

関数の名前です。

戻り値

関数構成ビルダー。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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)

型パラメーター

TEntity

構成対象のエンティティ型。

パラメーター

entityTypeBuilder
EntityTypeBuilder<TEntity>

構成されているエンティティ型のビルダー。

function
MethodInfo

関数を表す メソッド。

configureFunction
Action<TableValuedFunctionBuilder<TEntity>>

関数構成アクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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)

型パラメーター

TEntity

構成対象のエンティティ型。

パラメーター

entityTypeBuilder
EntityTypeBuilder<TEntity>

構成されているエンティティ型のビルダー。

function
MethodInfo

関数を表す メソッド。

戻り値

関数構成ビルダー。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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)

型パラメーター

TOwnerEntity

リレーションシップを所有するエンティティ型。

TDependentEntity

リレーションシップの依存エンティティ型。

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

構成されているエンティティ型のビルダー。

function
MethodInfo

関数を表す メソッド。

戻り値

関数構成ビルダー。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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)

型パラメーター

TOwnerEntity

リレーションシップを所有するエンティティ型。

TDependentEntity

リレーションシップの依存エンティティ型。

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

構成されているエンティティ型のビルダー。

name
String

関数の名前です。

戻り値

関数構成ビルダー。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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)

型パラメーター

TOwnerEntity

リレーションシップを所有するエンティティ型。

TDependentEntity

リレーションシップの依存エンティティ型。

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

構成されているエンティティ型のビルダー。

function
MethodInfo

関数を表す メソッド。

configureFunction
Action<OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity>>

関数構成アクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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)

型パラメーター

TOwnerEntity

リレーションシップを所有するエンティティ型。

TDependentEntity

リレーションシップの依存エンティティ型。

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

構成されているエンティティ型のビルダー。

name
String

関数の名前です。

configureFunction
Action<OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity>>

関数構成アクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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)

型パラメーター

TOwnerEntity
TRelatedEntity

パラメーター

referenceOwnershipBuilder
OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

構成されているエンティティ型のビルダー。

function
MethodInfo

関数を表す メソッド。

configureFunction
Action<TableValuedFunctionBuilder>

関数構成アクション。

戻り値

OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細については、「 モデリング エンティティの型とリレーションシップ 」を参照してください。

適用対象

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

リレーショナル データベースを対象とする場合にエンティティ型がマップされる関数を構成します。

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)

型パラメーター

TEntity TOwnerEntity
TRelatedEntity

このリレーションシップの対象となるエンティティの種類。

パラメーター

referenceOwnershipBuilder
OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

構成されているエンティティ型のビルダー。

name
String

関数の名前です。

configureFunction
Action<TableValuedFunctionBuilder>

関数構成アクション。

戻り値

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

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細については、「 モデリング エンティティの型とリレーションシップ 」を参照してください。

適用対象