RuntimeDbFunction Construtor

Definição

Inicializa uma nova instância da classe RuntimeDbFunction.

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)

Parâmetros

modelName
String

O nome do modelo.

model
RuntimeModel

O modelo.

returnType
Type

O tipo de retorno.

storeName
String

O nome da loja.

schema
String

O esquema do repositório.

storeType
String

O tipo de repositório.

methodInfo
MethodInfo

O mapeado MethodInfo.

scalar
Boolean

Se o tipo de retorno é escalar.

aggregate
Boolean

Se a função é uma agregação.

nullable
Boolean

Se a função é anulável.

builtIn
Boolean

Se a função é interna.

typeMapping
RelationalTypeMapping

O mapeamento de tipo para o valor retornado.

translation
Func<IReadOnlyList<SqlExpression>,SqlExpression>

A tradução da função.

Aplica-se a