Share via


FromSqlExpression.WithAnnotations Method

Definition

Creates an object like this with specified annotations.

[System.Runtime.CompilerServices.PreserveBaseOverrides]
protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.FromSqlExpression 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.FromSqlExpression
Protected Overridable Function WithAnnotations (annotations As IReadOnlyDictionary(Of String, IAnnotation)) As FromSqlExpression

Parameters

annotations
IReadOnlyDictionary<String,IAnnotation>

The annotations to be applied.

Returns

The new expression with given annotations.

Attributes

Applies to