IEntityMaterializerSource.CreateReadValueExpression Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an Expression tree representing reading a value from a ValueBuffer
This method is typically used by database providers (and other extensions). It is generally not used in application code.
public System.Linq.Expressions.Expression CreateReadValueExpression (System.Linq.Expressions.Expression valueBuffer, Type type, int index, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property);
abstract member CreateReadValueExpression : System.Linq.Expressions.Expression * Type * int * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> System.Linq.Expressions.Expression
Public Function CreateReadValueExpression (valueBuffer As Expression, type As Type, index As Integer, property As IPropertyBase) As Expression
Parameters
- valueBuffer
- Expression
The expression that exposes the ValueBuffer.
- type
- Type
The type to read.
- index
- Int32
The index in the buffer to read from.
- property
- IPropertyBase
The IPropertyBase being read if any.
Returns
An expression to read the value.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för