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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework