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