次の方法で共有


ExpressionExtensions.CreateEFPropertyExpression Method

Definition

Overloads

CreateEFPropertyExpression(Expression, IPropertyBase, Boolean)

Creates an Expression tree representing EF property access on given expression.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

CreateEFPropertyExpression(Expression, Type, Type, String, Boolean)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

CreateEFPropertyExpression(Expression, IPropertyBase, Boolean)

Source:
ExpressionExtensions.cs
Source:
ExpressionExtensions.cs
Source:
ExpressionExtensions.cs
Source:
ExpressionExtensions.cs
Source:
ExpressionExtensions.cs

Creates an Expression tree representing EF property access on given expression.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

public static System.Linq.Expressions.Expression CreateEFPropertyExpression (this System.Linq.Expressions.Expression target, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property, bool makeNullable = true);
static member CreateEFPropertyExpression : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase * bool -> System.Linq.Expressions.Expression
<Extension()>
Public Function CreateEFPropertyExpression (target As Expression, property As IPropertyBase, Optional makeNullable As Boolean = true) As Expression

Parameters

target
Expression

The expression that will be root for generated read operation.

property
IPropertyBase

The property to access.

makeNullable
Boolean

A value indicating if the value can be nullable.

Returns

An expression to access EF property on given expression.

Applies to

CreateEFPropertyExpression(Expression, Type, Type, String, Boolean)

Source:
ExpressionExtensions.cs

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static System.Linq.Expressions.Expression CreateEFPropertyExpression (System.Linq.Expressions.Expression target, Type propertyDeclaringType, Type propertyType, string propertyName, bool makeNullable);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member CreateEFPropertyExpression : System.Linq.Expressions.Expression * Type * Type * string * bool -> System.Linq.Expressions.Expression
Public Function CreateEFPropertyExpression (target As Expression, propertyDeclaringType As Type, propertyType As Type, propertyName As String, makeNullable As Boolean) As Expression

Parameters

target
Expression
propertyDeclaringType
Type
propertyType
Type
propertyName
String
makeNullable
Boolean

Returns

Attributes

Applies to