TableNameFromDbSetConvention 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
基于属性名称配置表名称的 DbSet<TEntity> 约定。
public class TableNameFromDbSetConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention
public class TableNameFromDbSetConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
public class TableNameFromDbSetConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type TableNameFromDbSetConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeBaseTypeChangedConvention
type TableNameFromDbSetConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeBaseTypeChangedConvention
interface IModelFinalizingConvention
type TableNameFromDbSetConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeBaseTypeChangedConvention
interface IEntityTypeAnnotationChangedConvention
interface IModelFinalizingConvention
Public Class TableNameFromDbSetConvention
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention
Public Class TableNameFromDbSetConvention
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IModelFinalizingConvention
Public Class TableNameFromDbSetConvention
Implements IEntityTypeAddedConvention, IEntityTypeAnnotationChangedConvention, IEntityTypeBaseTypeChangedConvention, IModelFinalizingConvention
- 继承
-
TableNameFromDbSetConvention
- 实现
注解
有关详细信息和示例,请参阅 模型生成约定 。
构造函数
TableNameFromDbSetConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies) |
创建 TableNameFromDbSetConvention 的新实例。 |
属性
Dependencies |
此服务的依赖项。 |
RelationalDependencies |
此服务的关系提供程序特定的依赖项。 |