语言

TableExpressionBase.WithAnnotations 方法

定义

使用指定的批注创建如下所示的对象。

protected abstract Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase WithAnnotations(System.Collections.Generic.IReadOnlyDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member WithAnnotations : System.Collections.Generic.IReadOnlyDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase
Protected MustOverride Function WithAnnotations (annotations As IReadOnlyDictionary(Of String, IAnnotation)) As TableExpressionBase

参数

annotations
IReadOnlyDictionary<String,IAnnotation>

要应用的批注。

返回

具有给定批注的新表达式。

适用于