Compartilhar via


ModelSource Construtores

Definição

Sobrecargas

ModelSource(ModelSourceDependencies)

Cria uma nova instância ModelSource.

ModelSource(IDbSetFinder, ICoreConventionSetBuilder, IModelCustomizer, IModelCacheKeyFactory)

Essa API dá suporte à infraestrutura do Entity Framework Core e não se destina a ser usada diretamente do seu código. Essa API pode ser alterada ou removida em versões futuras.

ModelSource(ModelSourceDependencies)

Cria uma nova instância ModelSource.

public ModelSource (Microsoft.EntityFrameworkCore.Infrastructure.ModelSourceDependencies dependencies);
new Microsoft.EntityFrameworkCore.Infrastructure.ModelSource : Microsoft.EntityFrameworkCore.Infrastructure.ModelSourceDependencies -> Microsoft.EntityFrameworkCore.Infrastructure.ModelSource
Public Sub New (dependencies As ModelSourceDependencies)

Parâmetros

dependencies
ModelSourceDependencies

As dependências a serem usadas.

Aplica-se a

ModelSource(IDbSetFinder, ICoreConventionSetBuilder, IModelCustomizer, IModelCacheKeyFactory)

Essa API dá suporte à infraestrutura do Entity Framework Core e não se destina a ser usada diretamente do seu código. Essa API pode ser alterada ou removida em versões futuras.

protected ModelSource (Microsoft.EntityFrameworkCore.Internal.IDbSetFinder setFinder, Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ICoreConventionSetBuilder coreConventionSetBuilder, Microsoft.EntityFrameworkCore.Infrastructure.IModelCustomizer modelCustomizer, Microsoft.EntityFrameworkCore.Infrastructure.IModelCacheKeyFactory modelCacheKeyFactory);
new Microsoft.EntityFrameworkCore.Infrastructure.ModelSource : Microsoft.EntityFrameworkCore.Internal.IDbSetFinder * Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ICoreConventionSetBuilder * Microsoft.EntityFrameworkCore.Infrastructure.IModelCustomizer * Microsoft.EntityFrameworkCore.Infrastructure.IModelCacheKeyFactory -> Microsoft.EntityFrameworkCore.Infrastructure.ModelSource
Protected Sub New (setFinder As IDbSetFinder, coreConventionSetBuilder As ICoreConventionSetBuilder, modelCustomizer As IModelCustomizer, modelCacheKeyFactory As IModelCacheKeyFactory)

Parâmetros

setFinder
Microsoft.EntityFrameworkCore.Internal.IDbSetFinder
coreConventionSetBuilder
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ICoreConventionSetBuilder
modelCustomizer
IModelCustomizer
modelCacheKeyFactory
IModelCacheKeyFactory

Aplica-se a