CSharpSnapshotGenerator.IgnoreAnnotations 方法

定义

删除忽略的批注。

protected virtual void IgnoreAnnotations (System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations, params string[] annotationNames);
abstract member IgnoreAnnotations : System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> * string[] -> unit
override this.IgnoreAnnotations : System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> * string[] -> unit
Protected Overridable Sub IgnoreAnnotations (annotations As IList(Of IAnnotation), ParamArray annotationNames As String())

参数

annotations
IList<IAnnotation>

要从中删除的批注。

annotationNames
String[]

忽略的批注名称。

适用于