語言

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>

要套用的註解。

傳回

新表達式附有已知註解。

適用於