Partager via


AnnotatableBuilder<TMetadata,TModelBuilder>.MergeAnnotationsFrom Méthode

Définition

Surcharges

MergeAnnotationsFrom(TMetadata)

Copie toutes les annotations explicitement configurées à partir de l’objet donné en remplaçant toutes les annotations existantes.

MergeAnnotationsFrom(TMetadata, ConfigurationSource)

Copie toutes les annotations configurées à partir de l’objet donné en remplaçant toutes les annotations existantes.

MergeAnnotationsFrom(TMetadata)

Copie toutes les annotations explicitement configurées à partir de l’objet donné en remplaçant toutes les annotations existantes.

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)

Paramètres

annotatable
TMetadata

Objet à partir duquel copier des annotations.

Retours

S’applique à

MergeAnnotationsFrom(TMetadata, ConfigurationSource)

Copie toutes les annotations configurées à partir de l’objet donné en remplaçant toutes les annotations existantes.

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)

Paramètres

annotatable
TMetadata

Objet à partir duquel copier des annotations.

minimalConfigurationSource
ConfigurationSource

Source de configuration minimale pour une annotation à copier.

Retours

S’applique à