Condividi tramite


IMutableEntityType.RemoveKey Metodo

Definizione

Overload

RemoveKey(IMutableKey)

Rimuove una chiave primaria o alternativa da questo tipo di entità.

RemoveKey(IReadOnlyKey)

Rimuove una chiave primaria o alternativa da questo tipo di entità.

RemoveKey(IReadOnlyList<IProperty>)

Rimuove una chiave primaria o alternativa da questa entità.

RemoveKey(IReadOnlyList<IReadOnlyProperty>)

Rimuove una chiave primaria o alternativa da questo tipo di entità.

RemoveKey(IMutableKey)

Rimuove una chiave primaria o alternativa da questo tipo di entità.

public void RemoveKey (Microsoft.EntityFrameworkCore.Metadata.IMutableKey key);
public Microsoft.EntityFrameworkCore.Metadata.IMutableKey RemoveKey (Microsoft.EntityFrameworkCore.Metadata.IMutableKey key);
abstract member RemoveKey : Microsoft.EntityFrameworkCore.Metadata.IMutableKey -> unit
abstract member RemoveKey : Microsoft.EntityFrameworkCore.Metadata.IMutableKey -> Microsoft.EntityFrameworkCore.Metadata.IMutableKey
Public Sub RemoveKey (key As IMutableKey)
Public Function RemoveKey (key As IMutableKey) As IMutableKey

Parametri

key
IMutableKey

Chiave da rimuovere.

Restituisce

Chiave rimossa.

Si applica a

RemoveKey(IReadOnlyKey)

Rimuove una chiave primaria o alternativa da questo tipo di entità.

public Microsoft.EntityFrameworkCore.Metadata.IMutableKey? RemoveKey (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey key);
abstract member RemoveKey : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey -> Microsoft.EntityFrameworkCore.Metadata.IMutableKey
Public Function RemoveKey (key As IReadOnlyKey) As IMutableKey

Parametri

key
IReadOnlyKey

Chiave da rimuovere.

Restituisce

Chiave rimossa o null se la chiave non è stata trovata.

Si applica a

RemoveKey(IReadOnlyList<IProperty>)

Rimuove una chiave primaria o alternativa da questa entità.

public Microsoft.EntityFrameworkCore.Metadata.IMutableKey RemoveKey (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties);
abstract member RemoveKey : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> -> Microsoft.EntityFrameworkCore.Metadata.IMutableKey
Public Function RemoveKey (properties As IReadOnlyList(Of IProperty)) As IMutableKey

Parametri

properties
IReadOnlyList<IProperty>

Proprietà che costituiscono la chiave.

Restituisce

Chiave rimossa.

Si applica a

RemoveKey(IReadOnlyList<IReadOnlyProperty>)

Rimuove una chiave primaria o alternativa da questo tipo di entità.

public Microsoft.EntityFrameworkCore.Metadata.IMutableKey? RemoveKey (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
abstract member RemoveKey : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IMutableKey
Public Function RemoveKey (properties As IReadOnlyList(Of IReadOnlyProperty)) As IMutableKey

Parametri

properties
IReadOnlyList<IReadOnlyProperty>

Proprietà che costituiscono la chiave.

Restituisce

Chiave rimossa o null se la chiave non è stata trovata.

Si applica a