src/Shared/EntityFramework/Infrastructure/Annotations/AnnotationCodeGenerator.cs
/// <summary>
/// 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.
/// </summary>
/// <param name="annotationNames">The names of the annotations that are being included in the generated code.</param>
/// <returns>A list of additional namespaces to include.</returns>
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.
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 IEnumerable<string> GetExtraNamespaces(IEnumerable<string> annotationNames)
        {
            Check.NotNull(annotationNames, "annotationNames");
            return Enumerable.Empty<string>();
        }
public virtual IEnumerable < string > GetExtraNamespaces ( IEnumerable < string > annotationNames ) { Check . NotNull ( annotationNames , " " ) ; return Enumerable . Empty < string > ( ) ; }
Override this method to return additional namespaces that should be included in the code generated for the
scaffolded migration.
Override this method to return additional namespaces that should be included in the code generated for the scaffolded migration .
A list of additional namespaces to include.
A list of additional namespaces to include .
annotationNames
IEnumerable<string>
The names of the annotations that are being included in the generated code.
The names of the annotations that are being included in the generated code .