共用方式為


ShapedQueryExpression.UpdateResultCardinality(ResultCardinality) 方法

定義

建立類似這個的新運算式,但具有提供的結果基數。

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

參數

resultCardinality
ResultCardinality

結果的 ResultCardinality 屬性。

傳回

具有更新結果基數的運算式。

適用於