QueryTypeBuilder.HasQueryFilter(LambdaExpression) 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.
Specifies a LINQ predicate expression that will automatically be applied to any queries targeting this query type.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.QueryTypeBuilder HasQueryFilter (System.Linq.Expressions.LambdaExpression filter);
abstract member HasQueryFilter : System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Metadata.Builders.QueryTypeBuilder
override this.HasQueryFilter : System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Metadata.Builders.QueryTypeBuilder
Public Overridable Function HasQueryFilter (filter As LambdaExpression) As QueryTypeBuilder
Parameters
- filter
- LambdaExpression
The LINQ predicate expression.
Returns
An object that can be used to configure the query type.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: