EntityTypeExtensions.GetDefiningQuery(IEntityType) Methode

Definition

Achtung

Use InMemoryEntityTypeExtensions.GetInMemoryQuery

Ruft die LINQ-Abfrage ab, die als Standardquelle für Abfragen dieses Typs verwendet wird.

public static System.Linq.Expressions.LambdaExpression GetDefiningQuery (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
[System.Obsolete("Use InMemoryEntityTypeExtensions.GetInMemoryQuery")]
public static System.Linq.Expressions.LambdaExpression GetDefiningQuery (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
[System.Obsolete("Use InMemoryEntityTypeExtensions.GetInMemoryQuery")]
public static System.Linq.Expressions.LambdaExpression? GetDefiningQuery (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetDefiningQuery : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> System.Linq.Expressions.LambdaExpression
[<System.Obsolete("Use InMemoryEntityTypeExtensions.GetInMemoryQuery")>]
static member GetDefiningQuery : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> System.Linq.Expressions.LambdaExpression
<Extension()>
Public Function GetDefiningQuery (entityType As IEntityType) As LambdaExpression

Parameter

entityType
IEntityType

Der Entitätstyp, für den die definierende Abfrage abgerufen werden soll.

Gibt zurück

Die LINQ-Abfrage, die als Standardquelle verwendet wird.

Attribute

Gilt für: