語言

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

忽略了註解名稱。

適用於