IMutableModel.RemoveEntityType Метод

Определение

Перегрузки

RemoveEntityType(String)

Удаляет тип сущности без определяющей навигации из модели.

RemoveEntityType(Type, String, IMutableEntityType)

Удаляет тип сущности с заданным типом, определяя имя навигации и определяющий тип сущности.

RemoveEntityType(String, String, IMutableEntityType)

Удаляет тип сущности с заданным типом, определяя имя навигации и определяющий тип сущности.

RemoveEntityType(IMutableEntityType)

Удаляет тип сущности из модели.

RemoveEntityType(Type)

Удаляет тип сущности из модели.

RemoveEntityType(String)

Удаляет тип сущности без определяющей навигации из модели.

public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (string name);
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (string name);
abstract member RemoveEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function RemoveEntityType (name As String) As IMutableEntityType

Параметры

name
String

Имя удаляемого типа сущности.

Возвращаемое значение

Тип сущности, который был удален.

Применяется к

RemoveEntityType(Type, String, IMutableEntityType)

Удаляет тип сущности с заданным типом, определяя имя навигации и определяющий тип сущности.

public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
abstract member RemoveEntityType : Type * string * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function RemoveEntityType (type As Type, definingNavigationName As String, definingEntityType As IMutableEntityType) As IMutableEntityType

Параметры

type
Type

Класс CLR, используемый для представления экземпляров этого типа сущности.

definingNavigationName
String

Определяющая навигация.

definingEntityType
IMutableEntityType

Определяющий тип сущности.

Возвращаемое значение

Тип сущности, который был удален.

Применяется к

RemoveEntityType(String, String, IMutableEntityType)

Удаляет тип сущности с заданным типом, определяя имя навигации и определяющий тип сущности.

public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
abstract member RemoveEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function RemoveEntityType (name As String, definingNavigationName As String, definingEntityType As IMutableEntityType) As IMutableEntityType

Параметры

name
String

Имя удаляемого типа сущности.

definingNavigationName
String

Определяющая навигация.

definingEntityType
IMutableEntityType

Определяющий тип сущности.

Возвращаемое значение

Тип сущности, который был удален.

Применяется к

RemoveEntityType(IMutableEntityType)

Удаляет тип сущности из модели.

public void RemoveEntityType (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
abstract member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> unit
abstract member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Sub RemoveEntityType (entityType As IMutableEntityType)
Public Function RemoveEntityType (entityType As IMutableEntityType) As IMutableEntityType

Параметры

entityType
IMutableEntityType

Удаляемый тип сущности.

Возвращаемое значение

Удаленный тип сущности или null значение , если тип сущности не найден.

Применяется к

RemoveEntityType(Type)

Удаляет тип сущности из модели.

public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (Type type);
abstract member RemoveEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function RemoveEntityType (type As Type) As IMutableEntityType

Параметры

type
Type

Удаляемый тип сущности.

Возвращаемое значение

Тип сущности, который был удален.

Применяется к