Partilhar via


ValuesExpression.WithAnnotations Method

Definition

Creates an object like this with specified annotations.

[System.Runtime.CompilerServices.PreserveBaseOverrides]
protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression WithAnnotations (System.Collections.Generic.IReadOnlyDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
[<System.Runtime.CompilerServices.PreserveBaseOverrides>]
override this.WithAnnotations : System.Collections.Generic.IReadOnlyDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression
Protected Overridable Function WithAnnotations (annotations As IReadOnlyDictionary(Of String, IAnnotation)) As ValuesExpression

Parameters

annotations
IReadOnlyDictionary<String,IAnnotation>

The annotations to be applied.

Returns

The new expression with given annotations.

Attributes

Applies to