RelationalEntityTypeExtensions.GetDefaultViewSchema 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.
Overloads
GetDefaultViewSchema(IEntityType) |
Returns the default database schema that would be used for this entity view. |
GetDefaultViewSchema(IReadOnlyEntityType) |
Returns the default database schema that would be used for this entity view. |
GetDefaultViewSchema(IEntityType)
Returns the default database schema that would be used for this entity view.
public static string GetDefaultViewSchema (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetDefaultViewSchema : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> string
<Extension()>
Public Function GetDefaultViewSchema (entityType As IEntityType) As String
Parameters
- entityType
- IEntityType
The entity type to get the view schema for.
Returns
The default database schema to which the entity type would be mapped.
Applies to
GetDefaultViewSchema(IReadOnlyEntityType)
Returns the default database schema that would be used for this entity view.
public static string? GetDefaultViewSchema (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetDefaultViewSchema : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> string
<Extension()>
Public Function GetDefaultViewSchema (entityType As IReadOnlyEntityType) As String
Parameters
- entityType
- IReadOnlyEntityType
The entity type to get the view schema for.
Returns
The default database schema to which the entity type would be mapped.
Applies to
Entity Framework