MigrationCodeGenerator.GetDefaultNamespaces(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the default namespaces that must be output as "using" or "Imports" directives for any code generated.
protected virtual System.Collections.Generic.IEnumerable<string> GetDefaultNamespaces (bool designer = false);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
protected virtual System.Collections.Generic.IEnumerable<string> GetDefaultNamespaces (bool designer = false);
abstract member GetDefaultNamespaces : bool -> seq<string>
override this.GetDefaultNamespaces : bool -> seq<string>
Protected Overridable Function GetDefaultNamespaces (Optional designer As Boolean = false) As IEnumerable(Of String)
Parameters
- designer
- Boolean
A value indicating if this class is being generated for a code-behind file.
Returns
An ordered list of namespace names.
- Attributes
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework