Share via


ModelSource Constructors

Definition

Overloads

ModelSource(ModelSourceDependencies)

Creates a new ModelSource instance.

ModelSource(IDbSetFinder, ICoreConventionSetBuilder, IModelCustomizer, IModelCacheKeyFactory)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

ModelSource(ModelSourceDependencies)

Creates a new ModelSource instance.

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)

Parameters

dependencies
ModelSourceDependencies

The dependencies to use.

Applies to

ModelSource(IDbSetFinder, ICoreConventionSetBuilder, IModelCustomizer, IModelCacheKeyFactory)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

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)

Parameters

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

Applies to