RelationalMaxIdentifierLengthConvention 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 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
參數物件,其中包含這個慣例的關聯式相依性。