RuntimeDbFunction Konstruktor

Definition

Initialisiert eine neue Instanz der RuntimeDbFunction-Klasse.

public RuntimeDbFunction (string modelName, Microsoft.EntityFrameworkCore.Metadata.RuntimeModel model, Type returnType, string storeName, string? schema = default, string? storeType = default, System.Reflection.MethodInfo? methodInfo = default, bool scalar = false, bool aggregate = false, bool nullable = false, bool builtIn = false, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default, Func<System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression>,Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression>? translation = default);
new Microsoft.EntityFrameworkCore.Metadata.RuntimeDbFunction : string * Microsoft.EntityFrameworkCore.Metadata.RuntimeModel * Type * string * string * string * System.Reflection.MethodInfo * bool * bool * bool * bool * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Func<System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression>, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> -> Microsoft.EntityFrameworkCore.Metadata.RuntimeDbFunction
Public Sub New (modelName As String, model As RuntimeModel, returnType As Type, storeName As String, Optional schema As String = Nothing, Optional storeType As String = Nothing, Optional methodInfo As MethodInfo = Nothing, Optional scalar As Boolean = false, Optional aggregate As Boolean = false, Optional nullable As Boolean = false, Optional builtIn As Boolean = false, Optional typeMapping As RelationalTypeMapping = Nothing, Optional translation As Func(Of IReadOnlyList(Of SqlExpression), SqlExpression) = Nothing)

Parameter

modelName
String

Der Name des Modells.

model
RuntimeModel

Das Modell.

returnType
Type

Der Rückgabetyp.

storeName
String

Der Name des Speichers.

schema
String

Das Speicherschema.

storeType
String

Der Speichertyp.

methodInfo
MethodInfo

Die zugeordnete MethodInfo.

scalar
Boolean

Gibt an, ob der Rückgabetyp skalar ist.

aggregate
Boolean

Gibt an, ob die Funktion ein Aggregat ist.

nullable
Boolean

Gibt an, ob die Funktion NULL-Werte zulässig ist.

builtIn
Boolean

Gibt an, ob die Funktion integriert ist.

typeMapping
RelationalTypeMapping

Die Typzuordnung für den Rückgabewert.

translation
Func<IReadOnlyList<SqlExpression>,SqlExpression>

Die Funktionsübersetzung.

Gilt für: