Share via


AnnotationCodeGenerator.GetExtraNamespaces(IEnumerable<String>) Method

Definition

Override this method to return additional namespaces that should be included in the code generated for the scaffolded migration. The default implementation returns an empty enumeration.

public virtual System.Collections.Generic.IEnumerable<string> GetExtraNamespaces (System.Collections.Generic.IEnumerable<string> annotationNames);
abstract member GetExtraNamespaces : seq<string> -> seq<string>
override this.GetExtraNamespaces : seq<string> -> seq<string>
Public Overridable Function GetExtraNamespaces (annotationNames As IEnumerable(Of String)) As IEnumerable(Of String)

Parameters

annotationNames
IEnumerable<String>

The names of the annotations that are being included in the generated code.

Returns

A list of additional namespaces to include.

Applies to