IConventionDbFunction インターフェイス

定義

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

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

注釈

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

プロパティ

Builder

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

FunctionName

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

(継承元 IDbFunction)
IsAggregate

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

(継承元 IReadOnlyDbFunction)
IsBuiltIn

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

(継承元 IReadOnlyDbFunction)
IsInModel

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

(継承元 IConventionAnnotatable)
IsNullable

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

(継承元 IReadOnlyDbFunction)
IsScalar

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

(継承元 IReadOnlyDbFunction)
Item[String]

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

(継承元 IReadOnlyAnnotatable)
MethodInfo

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

(継承元 IReadOnlyDbFunction)
Model

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

ModelName

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

(継承元 IReadOnlyDbFunction)
Name

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

(継承元 IReadOnlyDbFunction)
Parameters

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

ReturnType

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

(継承元 IReadOnlyDbFunction)
Schema

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

(継承元 IReadOnlyDbFunction)
StoreFunction

関連付けられた IStoreFunctionを取得します。

(継承元 IDbFunction)
StoreType

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

(継承元 IReadOnlyDbFunction)
Translation

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

(継承元 IReadOnlyDbFunction)
TypeMapping

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

(継承元 IReadOnlyDbFunction)

メソッド

AddAnnotation(String, Object, Boolean)

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

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

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

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

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

(継承元 IAnnotatable)
AnnotationsToDebugString(Int32)

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

(継承元 IReadOnlyAnnotatable)
FindAnnotation(String)

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

(継承元 IReadOnlyAnnotatable)
FindRuntimeAnnotation(String)

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

(継承元 IAnnotatable)
FindRuntimeAnnotationValue(String)

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

(継承元 IAnnotatable)
GetAnnotation(String)

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

(継承元 IReadOnlyAnnotatable)
GetAnnotations()

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

(継承元 IReadOnlyAnnotatable)
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)

拡張メソッド

AddAnnotations(IConventionAnnotatable, IEnumerable<IConventionAnnotation>, Boolean)

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

GetAnnotation(IConventionAnnotatable, String)

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

SetOrRemoveAnnotation(IConventionAnnotatable, String, Object, Boolean)

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

AnnotationsToDebugString(IAnnotatable, Int32)

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

GetAnnotation(IAnnotatable, String)

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

ToDebugString(IDbFunction, MetadataDebugStringOptions, Int32)

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

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

適用対象