CSharpSnapshotGenerator.IgnoreAnnotations 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除忽略的批註。
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[]
忽略的批註名稱。