MigrationCodeGenerator.GetNamespaces Method (IEnumerable<MigrationOperation>)
Gets the namespaces that must be output as "using" or "Imports" directives to handle the code generated by the given operations.
Assembly: EntityFramework (in EntityFramework.dll)
protected virtual IEnumerable<string> GetNamespaces( IEnumerable<MigrationOperation> operations )
Parameters
- operations
-
Type:
System.Collections.Generic.IEnumerable<MigrationOperation>
The operations for which code is going to be generated.
Return Value
Type: System.Collections.Generic.IEnumerable<String>An ordered list of namespace names.