Sprache

ExpressionExtensions.CreateValueBufferReadValueExpression Methode

Definition

Erstellt eine Expression Struktur, die das Lesen eines Werts aus einem ValueBuffer

Diese Methode wird in der Regel von Datenbankanbietern (und anderen Erweiterungen) verwendet. Sie wird in der Regel nicht im Anwendungscode verwendet.

public static System.Linq.Expressions.Expression CreateValueBufferReadValueExpression(this System.Linq.Expressions.Expression valueBuffer, Type type, int index, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase? property);
public static System.Linq.Expressions.Expression CreateValueBufferReadValueExpression(this System.Linq.Expressions.Expression valueBuffer, Type type, int index, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property);
static member CreateValueBufferReadValueExpression : System.Linq.Expressions.Expression * Type * int * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> System.Linq.Expressions.Expression
<Extension()>
Public Function CreateValueBufferReadValueExpression (valueBuffer As Expression, type As Type, index As Integer, property As IPropertyBase) As Expression

Parameter

valueBuffer
Expression

Der Ausdruck, der die ValueBuffer.

type
Type

Der zu lesende Typ.

index
Int32

Der Index im Puffer, aus dem gelesen werden soll.

property
IPropertyBase

Wenn vorhanden, wird IPropertyBase gelesen.

Gibt zurück

Ein Ausdruck zum Lesen des Werts.

Gilt für: