Language

RuntimeDbFunction クラス

定義

モデル内のリレーショナル データベース関数を表します。

[System.Runtime.CompilerServices.Nullable(0)]
public class RuntimeDbFunction : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.Internal.IRuntimeDbFunction
public class RuntimeDbFunction : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.Internal.IRuntimeDbFunction
[<System.Runtime.CompilerServices.Nullable(0)>]
type RuntimeDbFunction = class
    inherit AnnotatableBase
    interface IRuntimeDbFunction
    interface IDbFunction
    interface IReadOnlyDbFunction
    interface IReadOnlyAnnotatable
    interface IAnnotatable
type RuntimeDbFunction = class
    inherit AnnotatableBase
    interface IRuntimeDbFunction
    interface IDbFunction
    interface IReadOnlyDbFunction
    interface IReadOnlyAnnotatable
    interface IAnnotatable
Public Class RuntimeDbFunction
Inherits AnnotatableBase
Implements IRuntimeDbFunction
継承
RuntimeDbFunction
属性
実装
IAnnotatable IReadOnlyAnnotatable IDbFunction Microsoft.EntityFrameworkCore.Metadata.Internal.IRuntimeDbFunction IReadOnlyDbFunction

注釈

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

コンストラクター

Name 説明
RuntimeDbFunction(String, RuntimeModel, Type, String, String, String, MethodInfo, Boolean, Boolean, Boolean, Boolean, RelationalTypeMapping, Func<IReadOnlyList<SqlExpression>,SqlExpression>)

RuntimeDbFunction クラスの新しいインスタンスを初期化します。

プロパティ

Name 説明
DebugView

これは、パブリック API と同じ互換性標準の対象ではなく、Entity Framework Core インフラストラクチャをサポートする内部 API です。 これは、任意のリリースで予告なしに変更または削除される可能性があります。 コード内で直接使用する場合は、細心の注意を払う必要があります。これを行うと、新しいEntity Framework Core リリースに更新するときにアプリケーションのエラーが発生する可能性があることを認識してください。

IsReadOnly

現在のオブジェクトが読み取り専用かどうかを示します。

(継承元 AnnotatableBase)
Item[String]

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

(継承元 AnnotatableBase)
Model

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

ModelName

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

StoreFunction

これは、パブリック API と同じ互換性標準の対象ではなく、Entity Framework Core インフラストラクチャをサポートする内部 API です。 これは、任意のリリースで予告なしに変更または削除される可能性があります。 コード内で直接使用する場合は、細心の注意を払う必要があります。これを行うと、新しいEntity Framework Core リリースに更新するときにアプリケーションのエラーが発生する可能性があることを認識してください。

TypeMapping

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

メソッド

Name 説明
AddAnnotation(String, Annotation)

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

(継承元 AnnotatableBase)
AddAnnotation(String, Object)

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

(継承元 AnnotatableBase)
AddAnnotations(IEnumerable<IAnnotation>)

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

(継承元 AnnotatableBase)
AddAnnotations(IReadOnlyDictionary<String,Object>)

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

(継承元 AnnotatableBase)
AddParameter(String, Type, Boolean, String, RelationalTypeMapping)

関数にパラメーターを追加します。

AddRuntimeAnnotation(String, Annotation)

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

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

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

(継承元 AnnotatableBase)
AddRuntimeAnnotations(IEnumerable<Annotation>)

このオブジェクトにランタイム注釈を追加します。

(継承元 AnnotatableBase)
AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

このオブジェクトにランタイム注釈を追加します。

(継承元 AnnotatableBase)
CreateAnnotation(String, Object)

新しい注釈を作成します。

(継承元 AnnotatableBase)
CreateRuntimeAnnotation(String, Object)

新しいランタイム注釈を作成します。

(継承元 AnnotatableBase)
EnsureMutable()

モデルが読み取り専用の場合にスローします。

(継承元 AnnotatableBase)
EnsureReadOnly()

モデルが読み取り専用でない場合にスローします。

(継承元 AnnotatableBase)
FindAnnotation(String)

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

(継承元 AnnotatableBase)
FindRuntimeAnnotation(String)

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

(継承元 AnnotatableBase)
GetAnnotation(String)

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

(継承元 AnnotatableBase)
GetAnnotations()

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

(継承元 AnnotatableBase)
GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg)

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

(継承元 AnnotatableBase)
GetRuntimeAnnotations()

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

(継承元 AnnotatableBase)
OnAnnotationSet(String, Annotation, Annotation)

注釈が設定または削除されたときに呼び出されます。

(継承元 AnnotatableBase)
RemoveAnnotation(String)

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

(継承元 AnnotatableBase)
RemoveRuntimeAnnotation(String)

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

(継承元 AnnotatableBase)
SetAnnotation(String, Annotation, Annotation)

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

(継承元 AnnotatableBase)
SetAnnotation(String, Object)

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

(継承元 AnnotatableBase)
SetRuntimeAnnotation(String, Annotation, Annotation)

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

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

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

(継承元 AnnotatableBase)
ToString()

現在のオブジェクトを表す文字列を返します。

明示的なインターフェイスの実装

Name 説明
IAnnotatable.AddRuntimeAnnotation(String, Object)

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

(継承元 AnnotatableBase)
IAnnotatable.FindRuntimeAnnotation(String)

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

(継承元 AnnotatableBase)
IAnnotatable.GetRuntimeAnnotations()

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

(継承元 AnnotatableBase)
IAnnotatable.RemoveRuntimeAnnotation(String)

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

(継承元 AnnotatableBase)
IAnnotatable.SetRuntimeAnnotation(String, Object)

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

(継承元 AnnotatableBase)
IDbFunction.Model

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

IDbFunction.Parameters

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

IDbFunction.StoreFunction

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

IReadOnlyAnnotatable.FindAnnotation(String)

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

(継承元 AnnotatableBase)
IReadOnlyAnnotatable.GetAnnotations()

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

(継承元 AnnotatableBase)
IReadOnlyAnnotatable.Item[String]

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

(継承元 AnnotatableBase)
IReadOnlyDbFunction.IsAggregate

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

IReadOnlyDbFunction.IsBuiltIn

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

IReadOnlyDbFunction.IsNullable

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

IReadOnlyDbFunction.IsScalar

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

IReadOnlyDbFunction.MethodInfo

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

IReadOnlyDbFunction.Model

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

IReadOnlyDbFunction.Name

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

IReadOnlyDbFunction.Parameters

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

IReadOnlyDbFunction.ReturnType

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

IReadOnlyDbFunction.Schema

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

IReadOnlyDbFunction.StoreType

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

IReadOnlyDbFunction.Translation

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

IReadOnlyDbFunction.TypeMapping

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

IRuntimeDbFunction.StoreFunction

モデル内のリレーショナル データベース関数を表します。

拡張メソッド

Name 説明
AnnotationsToDebugString(IAnnotatable, Int32)

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

適用対象