Language

IDbFunction インターフェイス

定義

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

public interface IDbFunction : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyDbFunction
public interface IDbFunction
public interface IDbFunction : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable
type IDbFunction = interface
    interface IReadOnlyDbFunction
    interface IReadOnlyAnnotatable
    interface IAnnotatable
type IDbFunction = interface
type IDbFunction = interface
    interface IAnnotatable
Public Interface IDbFunction
Implements IAnnotatable, IReadOnlyDbFunction
Public Interface IDbFunction
Public Interface IDbFunction
Implements IAnnotatable
派生
実装

注釈

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

プロパティ

Name 説明
FunctionName

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

IsAggregate

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

IsBuiltIn

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

IsNullable

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

IsScalar

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

Item[String]

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

(継承元 IReadOnlyAnnotatable)
MethodInfo

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

Model

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

ModelName

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

Name

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

Parameters

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

ReturnType

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

Schema

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

StoreFunction

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

StoreType

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

Translation

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

TypeMapping

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

メソッド

Name 説明
AddRuntimeAnnotation(String, Object)

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

(継承元 IAnnotatable)
AnnotationsToDebugString(Int32)

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

(継承元 IReadOnlyAnnotatable)
FindAnnotation(String)

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

(継承元 IReadOnlyAnnotatable)
FindRuntimeAnnotation(String)

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

(継承元 IAnnotatable)
FindRuntimeAnnotationValue(String)

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

(継承元 IAnnotatable)
GetAnnotation(String)

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

(継承元 IReadOnlyAnnotatable)
GetAnnotations()

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

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

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

(継承元 IAnnotatable)
GetRuntimeAnnotations()

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

(継承元 IAnnotatable)
RemoveRuntimeAnnotation(String)

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

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

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

(継承元 IAnnotatable)
ToDebugString(MetadataDebugStringOptions, Int32)

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

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

(継承元 IReadOnlyDbFunction)

拡張メソッド

Name 説明
AnnotationsToDebugString(IAnnotatable, Int32)

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

GetAnnotation(IAnnotatable, String)

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

ToDebugString(IDbFunction, MetadataDebugStringOptions, Int32)

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

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

適用対象