ConventionAnnotatable.RemoveAnnotation(String) 方法

定义

从此对象中删除给定的批注。

public virtual Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation RemoveAnnotation (string name);
public virtual Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation? RemoveAnnotation (string name);
override this.RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation
Public Overridable Function RemoveAnnotation (name As String) As ConventionAnnotation

参数

name
String

要删除的批注。

返回

Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation

已删除的批注。

适用于