MutableModelExtensions.RemoveEntityType Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
RemoveEntityType(IMutableModel, IMutableEntityType) |
Usuwa typ jednostki z modelu. |
RemoveEntityType(IMutableModel, String) |
Usuwa typ jednostki bez definiowania nawigacji z modelu. |
RemoveEntityType(IMutableModel, Type) |
Usuwa typ jednostki z modelu. |
RemoveEntityType(IMutableModel, String, String, IMutableEntityType) |
Usuwa typ jednostki z definiowaną nawigacją z modelu. |
RemoveEntityType(IMutableModel, Type, String, IMutableEntityType) |
Usuwa typ jednostki z definiowaną nawigacją z modelu. |
RemoveEntityType(IMutableModel, IMutableEntityType)
Usuwa typ jednostki z modelu.
public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function RemoveEntityType (model As IMutableModel, entityType As IMutableEntityType) As IMutableEntityType
Parametry
- model
- IMutableModel
Model do usunięcia typu jednostki z.
- entityType
- IMutableEntityType
Typ jednostki do usunięcia.
Zwraca
Typ jednostki, który został usunięty.
Dotyczy
RemoveEntityType(IMutableModel, String)
Usuwa typ jednostki bez definiowania nawigacji z modelu.
public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function RemoveEntityType (model As IMutableModel, name As String) As IMutableEntityType
Parametry
- model
- IMutableModel
Model do usunięcia typu jednostki z.
- name
- String
Nazwa typu jednostki do usunięcia.
Zwraca
Typ jednostki, który został usunięty.
Dotyczy
RemoveEntityType(IMutableModel, Type)
Usuwa typ jednostki z modelu.
public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type type);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function RemoveEntityType (model As IMutableModel, type As Type) As IMutableEntityType
Parametry
- model
- IMutableModel
Model do usunięcia typu jednostki z.
- type
- Type
Typ jednostki do usunięcia.
Zwraca
Typ jednostki, który został usunięty.
Dotyczy
RemoveEntityType(IMutableModel, String, String, IMutableEntityType)
Usuwa typ jednostki z definiowaną nawigacją z modelu.
public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string * string * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function RemoveEntityType (model As IMutableModel, name As String, definingNavigationName As String, definingEntityType As IMutableEntityType) As IMutableEntityType
Parametry
- model
- IMutableModel
Model do usunięcia typu jednostki z.
- name
- String
Nazwa typu jednostki do usunięcia.
- definingNavigationName
- String
Definiowanie nawigacji.
- definingEntityType
- IMutableEntityType
Definiowany typ jednostki.
Zwraca
Typ jednostki, który został usunięty.
Dotyczy
RemoveEntityType(IMutableModel, Type, String, IMutableEntityType)
Usuwa typ jednostki z definiowaną nawigacją z modelu.
public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type * string * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function RemoveEntityType (model As IMutableModel, type As Type, definingNavigationName As String, definingEntityType As IMutableEntityType) As IMutableEntityType
Parametry
- model
- IMutableModel
Model do usunięcia typu jednostki z.
- type
- Type
Klasa CLR używana do reprezentowania wystąpień tego typu jednostki.
- definingNavigationName
- String
Definiowanie nawigacji.
- definingEntityType
- IMutableEntityType
Definiowany typ jednostki.
Zwraca
Typ jednostki, który został usunięty.