IMutableEntityType.RemoveServiceProperty Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
RemoveServiceProperty(IReadOnlyServiceProperty) |
Supprime une propriété de service de ce type d’entité. |
RemoveServiceProperty(String) |
Supprime une propriété de service de ce type d’entité. |
RemoveServiceProperty(IReadOnlyServiceProperty)
Supprime une propriété de service de ce type d’entité.
public Microsoft.EntityFrameworkCore.Metadata.IMutableServiceProperty? RemoveServiceProperty (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyServiceProperty property);
abstract member RemoveServiceProperty : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyServiceProperty -> Microsoft.EntityFrameworkCore.Metadata.IMutableServiceProperty
Public Function RemoveServiceProperty (property As IReadOnlyServiceProperty) As IMutableServiceProperty
Paramètres
- property
- IReadOnlyServiceProperty
Propriété à supprimer.
Retours
Propriété supprimée ou null
si la propriété est introuvable.
S’applique à
RemoveServiceProperty(String)
Supprime une propriété de service de ce type d’entité.
public Microsoft.EntityFrameworkCore.Metadata.IMutableServiceProperty RemoveServiceProperty (string name);
public Microsoft.EntityFrameworkCore.Metadata.IMutableServiceProperty? RemoveServiceProperty (string name);
abstract member RemoveServiceProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableServiceProperty
Public Function RemoveServiceProperty (name As String) As IMutableServiceProperty
Paramètres
- name
- String
Nom de la propriété à supprimer.
Retours
Propriété supprimée ou null
si la propriété est introuvable.