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

要移除的批註名稱。

傳回

已移除的批註。

適用於