Language

IConventionDbFunction インターフェイス

定義

モデルの構築中に変更できる形式のモデル内のリレーショナル データベース関数を表します。

public interface IConventionDbFunction : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyDbFunction
public interface IConventionDbFunction : Microsoft.EntityFrameworkCore.Metadata.IDbFunction
public interface IConventionDbFunction : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IDbFunction
type IConventionDbFunction = interface
    interface IReadOnlyDbFunction
    interface IReadOnlyAnnotatable
    interface IConventionAnnotatable
type IConventionDbFunction = interface
    interface IDbFunction
type IConventionDbFunction = interface
    interface IConventionAnnotatable
    interface IAnnotatable
    interface IDbFunction
Public Interface IConventionDbFunction
Implements IConventionAnnotatable, IReadOnlyDbFunction
Public Interface IConventionDbFunction
Implements IDbFunction
Public Interface IConventionDbFunction
Implements IConventionAnnotatable, IDbFunction
実装

注釈

詳細と例については、 データベース関数 を参照してください。

プロパティ

Name 説明
Builder

この関数の構成に使用できるビルダーを取得します。

FunctionName

データベース内の関数の名前。

(継承元 IDbFunction)
IsAggregate

この関数が集計関数かどうかを示す値を取得します。

(継承元 IDbFunction)
IsBuiltIn

データベース関数が組み込まれているかどうかを示す値を取得します。

(継承元 IDbFunction)
IsInModel

このオブジェクトがモデル内にあるかどうか、つまり、モデルから削除されていないかどうかを示します。

(継承元 IConventionAnnotatable)
IsNullable

データベース関数が null を返すことができるかどうかを示す値を取得します。

(継承元 IDbFunction)
IsScalar

この関数がスカラー値を返すかどうかを示す値を取得します。

(継承元 IDbFunction)
Item[String]

指定した名前の値注釈を取得し、存在しない場合は null 返します。

(継承元 IAnnotatable)
MethodInfo

データベース内の関数にマップされる CLR メソッドを取得します。

(継承元 IDbFunction)
Model

この関数が定義されているモデルを取得します。

ModelName

モデル内の関数の名前を取得します。

(継承元 IDbFunction)
Name

データベース内の関数の名前を取得します。

(継承元 IDbFunction)
Parameters

この関数のパラメーターを取得します。

ReturnType

返された CLR 型を取得します。

(継承元 IDbFunction)
Schema

データベース内の関数のスキーマを取得します。

(継承元 IDbFunction)
StoreFunction

関連付けられている IStoreFunctionを取得します。

(継承元 IDbFunction)
StoreType

構成されたストア型の文字列を取得します。

(継承元 IDbFunction)
Translation

SQL 式フラグメントへのメソッド呼び出しのカスタム変換を実行するための変換コールバックを取得します。

(継承元 IDbFunction)
TypeMapping

関数の戻り値の型のマッピングを取得します。

(継承元 IDbFunction)

メソッド

Name 説明
AddAnnotation(String, Object, Boolean)

このオブジェクトに注釈を追加します。 指定した名前の注釈が既に存在する場合にスローします。

(継承元 IConventionAnnotatable)
AddAnnotations(IEnumerable<IConventionAnnotation>, Boolean)

オブジェクトに注釈を追加します。

(継承元 IConventionAnnotatable)
AddRuntimeAnnotation(String, Object)

このオブジェクトにランタイム注釈を追加します。 指定した名前の注釈が既に存在する場合にスローします。

(継承元 IAnnotatable)
AnnotationsToDebugString(Int32)

オブジェクトで宣言されているすべての注釈のデバッグ文字列を取得します。

(継承元 IReadOnlyAnnotatable)
FindAnnotation(String)

指定した名前の注釈を取得し、存在しない場合は null 返します。

(継承元 IAnnotatable)
FindRuntimeAnnotation(String)

指定された名前のランタイム注釈を取得し、存在しない場合は null を返します。

(継承元 IAnnotatable)
FindRuntimeAnnotationValue(String)

指定した名前のランタイム注釈の値を取得し、存在しない場合は null 返します。

(継承元 IAnnotatable)
GetAnnotation(String)

指定した名前の注釈を取得し、存在しない場合はスローします。

(継承元 IConventionAnnotatable)
GetAnnotations()

現在のオブジェクトのすべての注釈を取得します。

(継承元 IAnnotatable)
GetConfigurationSource()

この関数の構成ソースを取得します。

GetIsBuiltInConfigurationSource()

IsBuiltInの構成ソースを取得します。

GetIsNullableConfigurationSource()

IsNullableの構成ソースを取得します。

GetNameConfigurationSource()

Nameの構成ソースを取得します。

GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg)

指定された名前を持つランタイム注釈の値を取得し、存在しない場合は追加します。

(継承元 IAnnotatable)
GetRuntimeAnnotations()

現在のオブジェクトのすべてのランタイム注釈を取得します。

(継承元 IAnnotatable)
GetSchemaConfigurationSource()

Schemaの構成ソースを取得します。

GetStoreTypeConfigurationSource()

StoreTypeの構成ソースを取得します。

GetTranslationConfigurationSource()

Translationの構成ソースを取得します。

GetTypeMappingConfigurationSource()

TypeMappingの構成ソースを取得します。

RemoveAnnotation(String)

指定した名前の注釈をこのオブジェクトから削除します。

(継承元 IConventionAnnotatable)
RemoveRuntimeAnnotation(String)

指定されたランタイム注釈をこのオブジェクトから削除します。

(継承元 IAnnotatable)
SetAnnotation(String, Object, Boolean)

指定した名前の下に格納されている注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

(継承元 IConventionAnnotatable)
SetIsBuiltIn(Boolean, Boolean)

データベース関数が組み込まれているかどうかを示す値を設定します。

SetIsNullable(Boolean, Boolean)

データベース関数が null 値を返すことができるかどうかを示す値を設定します。

SetName(String, Boolean)

データベース内の関数の名前を設定します。

SetOrRemoveAnnotation(String, Object, Boolean)

指定した名前の下に格納されている注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。 nullが指定されている場合は、既存の注釈を削除します。

(継承元 IConventionAnnotatable)
SetRuntimeAnnotation(String, Object)

指定されたキーの下に格納されているランタイム注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

(継承元 IAnnotatable)
SetSchema(String, Boolean)

データベース内の関数のスキーマを設定します。

SetStoreType(String, Boolean)

データベース内の関数のストア型を設定します。

SetTranslation(Func<IReadOnlyCollection<SqlExpression>,SqlExpression>, Boolean)

SQL 式フラグメントへのメソッド呼び出しのカスタム変換を実行するための変換コールバックを設定します。

SetTranslation(Func<IReadOnlyList<SqlExpression>,SqlExpression>, Boolean)

SQL 式フラグメントへのメソッド呼び出しのカスタム変換を実行するための変換コールバックを設定します。

SetTypeMapping(RelationalTypeMapping, Boolean)

データベース内の関数の型マッピングを設定します。

ToDebugString(MetadataDebugStringOptions, Int32)

指定されたメタデータの人間が判読できる表現を作成します。

警告: 返される文字列の形式に依存しないでください。 デバッグ専用に設計されており、リリース間で任意に変更される可能性があります。

(継承元 IReadOnlyDbFunction)

拡張メソッド

Name 説明
AddAnnotations(IConventionAnnotatable, IEnumerable<IConventionAnnotation>, Boolean)

オブジェクトに注釈を追加します。

AnnotationsToDebugString(IAnnotatable, Int32)

オブジェクトで宣言されているすべての注釈のデバッグ文字列を取得します。

GetAnnotation(IAnnotatable, String)

指定した名前の注釈を取得し、存在しない場合はスローします。

GetAnnotation(IConventionAnnotatable, String)

指定した名前の注釈を取得し、存在しない場合はスローします。

SetOrRemoveAnnotation(IConventionAnnotatable, String, Object, Boolean)

指定した名前の下に格納されている注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。 nullが指定されている場合は、既存の注釈を削除します。

ToDebugString(IDbFunction, MetadataDebugStringOptions, Int32)

指定されたメタデータの人間が判読できる表現を作成します。

警告: 返される文字列の形式に依存しないでください。 デバッグ専用に設計されており、リリース間で任意に変更される可能性があります。

適用対象