ConventionAnnotatable.IConventionAnnotatable.RemoveAnnotation(String) 方法

定义

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

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation IConventionAnnotatable.RemoveAnnotation (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? IConventionAnnotatable.RemoveAnnotation (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
override this.Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
Function RemoveAnnotation (name As String) As IConventionAnnotation Implements IConventionAnnotatable.RemoveAnnotation

参数

name
String

要删除的批注的名称。

返回

已删除的批注。

实现

属性

适用于