CSharpSnapshotGenerator.IgnoreAnnotations Method

Definition

Removes ignored annotations.

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())

Parameters

annotations
IList<IAnnotation>

The annotations to remove from.

annotationNames
String[]

The ignored annotation names.

Applies to