IMutableAnnotatable.RemoveAnnotation(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从此对象中删除给定的批注。
public Microsoft.EntityFrameworkCore.Infrastructure.Annotation RemoveAnnotation (string name);
public Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation RemoveAnnotation (string name);
public Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation? RemoveAnnotation (string name);
abstract member RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
abstract member RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Public Function RemoveAnnotation (name As String) As Annotation
Public Function RemoveAnnotation (name As String) As IAnnotation
参数
- name
- String
要删除的批注的名称。
返回
已删除的批注。