ValuesExpression.WithAnnotations 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的批注创建如下所示的对象。
[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
参数
- annotations
- IReadOnlyDictionary<String,IAnnotation>
要应用的批注。
返回
具有给定批注的新表达式。
- 特性