RelationalEntityTypeExtensions.SetViewSchema Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
SetViewSchema(IMutableEntityType, String) |
Define o esquema de banco de dados que contém a exibição mapeada. |
SetViewSchema(IConventionEntityType, String, Boolean) |
Define o esquema de banco de dados que contém a exibição mapeada. |
SetViewSchema(IMutableEntityType, String)
Define o esquema de banco de dados que contém a exibição mapeada.
public static void SetViewSchema (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string value);
public static void SetViewSchema (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string? value);
static member SetViewSchema : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * string -> unit
<Extension()>
Public Sub SetViewSchema (entityType As IMutableEntityType, value As String)
Parâmetros
- entityType
- IMutableEntityType
O tipo de entidade para o qual definir o esquema de exibição.
- value
- String
O valor a ser definido.
Aplica-se a
SetViewSchema(IConventionEntityType, String, Boolean)
Define o esquema de banco de dados que contém a exibição mapeada.
public static string SetViewSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, string value, bool fromDataAnnotation = false);
public static string? SetViewSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, string? value, bool fromDataAnnotation = false);
static member SetViewSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * string * bool -> string
<Extension()>
Public Function SetViewSchema (entityType As IConventionEntityType, value As String, Optional fromDataAnnotation As Boolean = false) As String
Parâmetros
- entityType
- IConventionEntityType
O tipo de entidade para o qual definir o esquema de exibição.
- value
- String
O valor a ser definido.
- fromDataAnnotation
- Boolean
Indica se a configuração foi especificada usando uma anotação de dados.
Retornos
O esquema configurado.
Aplica-se a
Entity Framework