MutableModelExtensions.RemoveOwned(IMutableModel, Type) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Quita el tipo de propiedad especificado, lo que indica que cuando los tipos de entidad coincidentes detectados no deben configurarse como propiedad.
public static void RemoveOwned(this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type clrType);
public static string RemoveOwned(this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type type);
static member RemoveOwned : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type -> unit
static member RemoveOwned : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type -> string
<Extension()>
Public Sub RemoveOwned (model As IMutableModel, clrType As Type)
<Extension()>
Public Function RemoveOwned (model As IMutableModel, type As Type) As String
Parámetros
- model
- IMutableModel
Modelo del que se va a quitar el nombre de tipo de propiedad.
- clrTypetype
- Type
Tipo del tipo de entidad que no debe ser propiedad.
Devoluciones
Nombre del tipo de propiedad quitado.