TableExpressionBase.WithAnnotations Method

Definition

Creates an object like this with specified annotations.

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

Parameters

annotations
IReadOnlyDictionary<String,IAnnotation>

The annotations to be applied.

Returns

The new expression with given annotations.

Applies to