IConventionAnnotatable.RemoveAnnotation(String) 方法

定义

从此对象中删除具有给定名称的批注。

public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation RemoveAnnotation (string name);
public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? RemoveAnnotation (string name);
abstract member RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
Public Function RemoveAnnotation (name As String) As IConventionAnnotation

参数

name
String

要删除的批注的名称。

返回

已删除的批注。

适用于