ModelSource 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ModelSource(ModelSourceDependencies) |
创建一个新的 ModelSource 实例。 |
ModelSource(IDbSetFinder, ICoreConventionSetBuilder, IModelCustomizer, IModelCacheKeyFactory) |
此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。 |
ModelSource(ModelSourceDependencies)
- Source:
- ModelSource.cs
- Source:
- ModelSource.cs
- Source:
- ModelSource.cs
- Source:
- ModelSource.cs
- Source:
- ModelSource.cs
- Source:
- ModelSource.cs
- Source:
- ModelSource.cs
- Source:
- ModelSource.cs
- Source:
- ModelSource.cs
创建一个新的 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)
参数
- dependencies
- ModelSourceDependencies
要使用的依赖项。
适用于
ModelSource(IDbSetFinder, ICoreConventionSetBuilder, IModelCustomizer, IModelCacheKeyFactory)
此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。
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)
参数
- setFinder
- Microsoft.EntityFrameworkCore.Internal.IDbSetFinder
- coreConventionSetBuilder
- Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ICoreConventionSetBuilder
- modelCustomizer
- IModelCustomizer
- modelCacheKeyFactory
- IModelCacheKeyFactory