MigrationCodeGenerator.GetDefaultNamespaces Method (Boolean)

 

Gets the default namespaces that must be output as "using" or "Imports" directives for any code generated.

Namespace:   System.Data.Entity.Migrations.Design
Assembly:  EntityFramework (in EntityFramework.dll)

[SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
protected virtual IEnumerable<string> GetDefaultNamespaces(
	bool designer = false
)

Parameters

designer
Type: System.Boolean

A value indicating if this class is being generated for a code-behind file.

Return Value

Type: System.Collections.Generic.IEnumerable<String>

An ordered list of namespace names.