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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework