MigrationsScaffolder.GetNamespace(Type, String) 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 namespace of a sibling type. If none, the default namespace is used.
protected virtual string GetNamespace (Type siblingType, string defaultNamespace);
protected virtual string GetNamespace (Type? siblingType, string defaultNamespace);
abstract member GetNamespace : Type * string -> string
override this.GetNamespace : Type * string -> string
Protected Overridable Function GetNamespace (siblingType As Type, defaultNamespace As String) As String
Parameters
- siblingType
- Type
The sibling type.
- defaultNamespace
- String
The default namespace.
Returns
The namespace.
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