Compartir a través de


AnnotatableBuilder<TMetadata,TModelBuilder>.MergeAnnotationsFrom Método

Definición

Sobrecargas

MergeAnnotationsFrom(TMetadata)

Copia todas las anotaciones configuradas explícitamente desde el objeto especificado sobrescribiendo las existentes.

MergeAnnotationsFrom(TMetadata, ConfigurationSource)

Copia todas las anotaciones configuradas del objeto especificado sobrescribiendo las existentes.

MergeAnnotationsFrom(TMetadata)

Copia todas las anotaciones configuradas explícitamente desde el objeto especificado sobrescribiendo las existentes.

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)

Parámetros

annotatable
TMetadata

Objeto del que se van a copiar anotaciones.

Devoluciones

Se aplica a

MergeAnnotationsFrom(TMetadata, ConfigurationSource)

Copia todas las anotaciones configuradas del objeto especificado sobrescribiendo las existentes.

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)

Parámetros

annotatable
TMetadata

Objeto del que se van a copiar anotaciones.

minimalConfigurationSource
ConfigurationSource

Origen de configuración mínimo para una anotación que se va a copiar.

Devoluciones

Se aplica a