Condividi tramite


AnnotatableBuilder<TMetadata,TModelBuilder>.MergeAnnotationsFrom Metodo

Definizione

Overload

MergeAnnotationsFrom(TMetadata)

Copia tutte le annotazioni configurate in modo esplicito dall'oggetto specificato sovrascrivendo quelle esistenti.

MergeAnnotationsFrom(TMetadata, ConfigurationSource)

Copia tutte le annotazioni configurate dall'oggetto specificato sovrascrivendo quelle esistenti.

MergeAnnotationsFrom(TMetadata)

Copia tutte le annotazioni configurate in modo esplicito dall'oggetto specificato sovrascrivendo quelle esistenti.

public virtual void MergeAnnotationsFrom (TMetadata annotatable);
public virtual Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBuilder<TMetadata,TModelBuilder> MergeAnnotationsFrom (TMetadata annotatable);
abstract member MergeAnnotationsFrom : 'Metadata -> unit
override this.MergeAnnotationsFrom : 'Metadata -> unit
abstract member MergeAnnotationsFrom : 'Metadata -> Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBuilder<'Metadata, 'ModelBuilder (requires 'Metadata :> Microsoft.EntityFrameworkCore.Infrastructure.ConventionAnnotatable and 'ModelBuilder :> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder)>
override this.MergeAnnotationsFrom : 'Metadata -> Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBuilder<'Metadata, 'ModelBuilder (requires 'Metadata :> Microsoft.EntityFrameworkCore.Infrastructure.ConventionAnnotatable and 'ModelBuilder :> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder)>
Public Overridable Sub MergeAnnotationsFrom (annotatable As TMetadata)
Public Overridable Function MergeAnnotationsFrom (annotatable As TMetadata) As AnnotatableBuilder(Of TMetadata, TModelBuilder)

Parametri

annotatable
TMetadata

Oggetto da cui copiare annotazioni.

Restituisce

Si applica a

MergeAnnotationsFrom(TMetadata, ConfigurationSource)

Copia tutte le annotazioni configurate dall'oggetto specificato sovrascrivendo quelle esistenti.

public virtual void MergeAnnotationsFrom (TMetadata annotatable, Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource minimalConfigurationSource);
public virtual Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBuilder<TMetadata,TModelBuilder> MergeAnnotationsFrom (TMetadata annotatable, Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource minimalConfigurationSource);
abstract member MergeAnnotationsFrom : 'Metadata * Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource -> unit
override this.MergeAnnotationsFrom : 'Metadata * Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource -> unit
abstract member MergeAnnotationsFrom : 'Metadata * Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource -> Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBuilder<'Metadata, 'ModelBuilder (requires 'Metadata :> Microsoft.EntityFrameworkCore.Infrastructure.ConventionAnnotatable and 'ModelBuilder :> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder)>
override this.MergeAnnotationsFrom : 'Metadata * Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource -> Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBuilder<'Metadata, 'ModelBuilder (requires 'Metadata :> Microsoft.EntityFrameworkCore.Infrastructure.ConventionAnnotatable and 'ModelBuilder :> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder)>
Public Overridable Sub MergeAnnotationsFrom (annotatable As TMetadata, minimalConfigurationSource As ConfigurationSource)
Public Overridable Function MergeAnnotationsFrom (annotatable As TMetadata, minimalConfigurationSource As ConfigurationSource) As AnnotatableBuilder(Of TMetadata, TModelBuilder)

Parametri

annotatable
TMetadata

Oggetto da cui copiare annotazioni.

minimalConfigurationSource
ConfigurationSource

Origine minima di configurazione per la copia di un'annotazione.

Restituisce

Si applica a