ShapedQueryExpression.UpdateResultCardinality(ResultCardinality) 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 a new expression that is like this one, but with supplied result cardinality.
public virtual Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression UpdateResultCardinality (Microsoft.EntityFrameworkCore.Query.ResultCardinality resultCardinality);
abstract member UpdateResultCardinality : Microsoft.EntityFrameworkCore.Query.ResultCardinality -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
override this.UpdateResultCardinality : Microsoft.EntityFrameworkCore.Query.ResultCardinality -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Public Overridable Function UpdateResultCardinality (resultCardinality As ResultCardinality) As ShapedQueryExpression
Parameters
- resultCardinality
- ResultCardinality
The ResultCardinality property of the result.
Returns
An expression with the updated result cardinality.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework