AnnotationCodeGenerator.GetExtraNamespaces Method (IEnumerable<String>)
Return additional namespaces that should be included in the code generated for the scaffolded migration. The default implementation returns an empty enumeration.
Assembly: EntityFramework (in EntityFramework.dll)
public virtual IEnumerable<string> GetExtraNamespaces( IEnumerable<string> annotationNames )
Parameters
- annotationNames
-
Type:
System.Collections.Generic.IEnumerable<String>
The names of the annotations that are being included in the generated code.
Return Value
Type: System.Collections.Generic.IEnumerable<String>A list of additional namespaces to include.