共用方式為


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[]

忽略的批註名稱。

適用於