EntityTypeExtensions.GetDefiningQuery(IEntityType) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Dikkat
Use InMemoryEntityTypeExtensions.GetInMemoryQuery
Bu türün sorguları için varsayılan kaynak olarak kullanılan LINQ sorgusunu alır.
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
Parametreler
- entityType
- IEntityType
Tanımlama sorgusunun alınacağı varlık türü.
Döndürülenler
Varsayılan kaynak olarak kullanılan LINQ sorgusu.
- Öznitelikler