StringLengthAttributeConvention 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 StringLengthAttributeConvention 的新執行個體。
public StringLengthAttributeConvention (Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies);
new Microsoft.EntityFrameworkCore.Metadata.Conventions.StringLengthAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies -> Microsoft.EntityFrameworkCore.Metadata.Conventions.StringLengthAttributeConvention
Public Sub New (dependencies As ProviderConventionSetBuilderDependencies)
參數
- dependencies
- ProviderConventionSetBuilderDependencies
參數物件,包含此慣例的相依性。