RelationalMaxIdentifierLengthConvention 构造函数

定义

public RelationalMaxIdentifierLengthConvention (int maxIdentifierLength, Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies, Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.RelationalConventionSetBuilderDependencies relationalDependencies);
new Microsoft.EntityFrameworkCore.Metadata.Conventions.RelationalMaxIdentifierLengthConvention : int * Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies * Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.RelationalConventionSetBuilderDependencies -> Microsoft.EntityFrameworkCore.Metadata.Conventions.RelationalMaxIdentifierLengthConvention
Public Sub New (maxIdentifierLength As Integer, dependencies As ProviderConventionSetBuilderDependencies, relationalDependencies As RelationalConventionSetBuilderDependencies)

参数

maxIdentifierLength
Int32

数据库支持的最大对象标识符长度。

dependencies
ProviderConventionSetBuilderDependencies

包含此约定依赖项的参数对象。

relationalDependencies
RelationalConventionSetBuilderDependencies

包含此约定的关系依赖项的参数对象。

适用于