ConventionModelExtensions.RemoveEntityType Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
RemoveEntityType(IConventionModel, String) |
Odebere typ entity bez definování navigace z modelu. |
RemoveEntityType(IConventionModel, Type) |
Odebere typ entity z modelu. |
RemoveEntityType(IConventionModel, String, String, IConventionEntityType) |
Odebere typ entity s definující navigaci z modelu. |
RemoveEntityType(IConventionModel, Type, String, IConventionEntityType) |
Odebere typ entity s definující navigaci z modelu. |
RemoveEntityType(IConventionModel, String)
Odebere typ entity bez definování navigace z modelu.
public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function RemoveEntityType (model As IConventionModel, name As String) As IConventionEntityType
Parametry
- model
- IConventionModel
Model, ze který chcete odebrat typ entity.
- name
- String
Název typu entity, který se má odebrat.
Návraty
Typ entity, která byla odebrána.
Platí pro
RemoveEntityType(IConventionModel, Type)
Odebere typ entity z modelu.
public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function RemoveEntityType (model As IConventionModel, type As Type) As IConventionEntityType
Parametry
- model
- IConventionModel
Model, ze který chcete odebrat typ entity.
- type
- Type
Typ entity, který se má odebrat.
Návraty
Typ entity, která byla odebrána.
Platí pro
RemoveEntityType(IConventionModel, String, String, IConventionEntityType)
Odebere typ entity s definující navigaci z modelu.
public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType definingEntityType);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string * string * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function RemoveEntityType (model As IConventionModel, name As String, definingNavigationName As String, definingEntityType As IConventionEntityType) As IConventionEntityType
Parametry
- model
- IConventionModel
Model, ze který chcete odebrat typ entity.
- name
- String
Název typu entity, který se má odebrat.
- definingNavigationName
- String
Definující navigace.
- definingEntityType
- IConventionEntityType
Definující typ entity.
Návraty
Typ entity, která byla odebrána.
Platí pro
RemoveEntityType(IConventionModel, Type, String, IConventionEntityType)
Odebere typ entity s definující navigaci z modelu.
public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType definingEntityType);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type * string * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function RemoveEntityType (model As IConventionModel, type As Type, definingNavigationName As String, definingEntityType As IConventionEntityType) As IConventionEntityType
Parametry
- model
- IConventionModel
Model, ze který chcete odebrat typ entity.
- type
- Type
Třída CLR, která se používá k reprezentaci instancí tohoto typu entity.
- definingNavigationName
- String
Definující navigace.
- definingEntityType
- IConventionEntityType
Definující typ entity.
Návraty
Typ entity, která byla odebrána.
Platí pro
Entity Framework
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro