Share via


RelationalMaxIdentifierLengthConvention Constructor

Definition

Creates a new instance of 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)

Parameters

maxIdentifierLength
Int32

The maximum object identifier length supported by the database.

dependencies
ProviderConventionSetBuilderDependencies

Parameter object containing dependencies for this convention.

relationalDependencies
RelationalConventionSetBuilderDependencies

Parameter object containing relational dependencies for this convention.

Applies to