Compartilhar via


IMutableEntityType.RemoveKey Método

Definição

Sobrecargas

RemoveKey(IMutableKey)

Remove uma chave primária ou alternativa desse tipo de entidade.

RemoveKey(IReadOnlyKey)

Remove uma chave primária ou alternativa desse tipo de entidade.

RemoveKey(IReadOnlyList<IProperty>)

Remove uma chave primária ou alternativa dessa entidade.

RemoveKey(IReadOnlyList<IReadOnlyProperty>)

Remove uma chave primária ou alternativa desse tipo de entidade.

RemoveKey(IMutableKey)

Remove uma chave primária ou alternativa desse tipo de entidade.

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

Parâmetros

key
IMutableKey

A chave a ser removida.

Retornos

A chave removida.

Aplica-se a

RemoveKey(IReadOnlyKey)

Remove uma chave primária ou alternativa desse tipo de entidade.

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

Parâmetros

key
IReadOnlyKey

A chave a ser removida.

Retornos

A chave removida ou null se a chave não foi encontrada.

Aplica-se a

RemoveKey(IReadOnlyList<IProperty>)

Remove uma chave primária ou alternativa dessa entidade.

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

Parâmetros

properties
IReadOnlyList<IProperty>

As propriedades que compõem a chave.

Retornos

A chave que foi removida.

Aplica-se a

RemoveKey(IReadOnlyList<IReadOnlyProperty>)

Remove uma chave primária ou alternativa desse tipo de entidade.

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

Parâmetros

properties
IReadOnlyList<IReadOnlyProperty>

As propriedades que compõem a chave.

Retornos

A chave removida ou null se a chave não foi encontrada.

Aplica-se a