共用方式為


ProviderConventionSetBuilderDependencies 建構函式

定義

多載

ProviderConventionSetBuilderDependencies(ITypeMappingSource, IConstructorBindingFactory, IParameterBindingFactories, IMemberClassifier, IDiagnosticsLogger<DbLoggerCategory.Model>, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>, IDbSetFinder, ICurrentDbContext)

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

ProviderConventionSetBuilderDependencies(ITypeMappingSource, IConstructorBindingFactory, IParameterBindingFactories, IMemberClassifier, IDiagnosticsLogger<DbLoggerCategory.Model>, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>, IDbSetFinder, ICurrentDbContext, IModelValidator)

建立 的服務 ProviderConventionSetBuilder 相依性參數物件。

請勿直接從提供者或應用程式程式碼呼叫此建構函式,因為它可能會在新增相依性時變更。 相反地,請在建構函式中使用這個類型,讓相依性插入容器自動建立和插入實例。 若要建立已取代某些相依服務的實例,請先從相依性插入容器解析物件,然後使用 'With...' 取代選取的服務方法。 請勿在此進程中的任何時間點呼叫建構函式。

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

ProviderConventionSetBuilderDependencies(ITypeMappingSource, IConstructorBindingFactory, IParameterBindingFactories, IMemberClassifier, IDiagnosticsLogger<DbLoggerCategory.Model>, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>, IDbSetFinder, ICurrentDbContext, IModelValidator)

建立 的服務 ProviderConventionSetBuilder 相依性參數物件。

請勿直接從提供者或應用程式程式碼呼叫此建構函式,因為它可能會在新增相依性時變更。 相反地,請在建構函式中使用這個類型,讓相依性插入容器自動建立和插入實例。 若要建立已取代某些相依服務的實例,請先從相依性插入容器解析物件,然後使用 'With...' 取代選取的服務方法。 請勿在此進程中的任何時間點呼叫建構函式。

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

ProviderConventionSetBuilderDependencies(ITypeMappingSource, IConstructorBindingFactory, IParameterBindingFactories, IMemberClassifier, IDiagnosticsLogger<DbLoggerCategory.Model>, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>, IDbSetFinder, ICurrentDbContext)

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public ProviderConventionSetBuilderDependencies (Microsoft.EntityFrameworkCore.Storage.ITypeMappingSource typeMappingSource, Microsoft.EntityFrameworkCore.Metadata.IConstructorBindingFactory constructorBindingFactory, Microsoft.EntityFrameworkCore.Metadata.IParameterBindingFactories parameterBindingFactories, Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier memberClassifier, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> logger, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> validationLogger, Microsoft.EntityFrameworkCore.Infrastructure.IDbSetFinder setFinder, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies : Microsoft.EntityFrameworkCore.Storage.ITypeMappingSource * Microsoft.EntityFrameworkCore.Metadata.IConstructorBindingFactory * Microsoft.EntityFrameworkCore.Metadata.IParameterBindingFactories * Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Infrastructure.IDbSetFinder * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies
Public Sub New (typeMappingSource As ITypeMappingSource, constructorBindingFactory As IConstructorBindingFactory, parameterBindingFactories As IParameterBindingFactories, memberClassifier As IMemberClassifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model), validationLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), setFinder As IDbSetFinder, currentContext As ICurrentDbContext)

參數

typeMappingSource
ITypeMappingSource
constructorBindingFactory
IConstructorBindingFactory
parameterBindingFactories
IParameterBindingFactories
memberClassifier
Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier
setFinder
IDbSetFinder
currentContext
ICurrentDbContext
屬性

備註

請勿直接從提供者或應用程式程式碼呼叫此建構函式,因為它可能會在新增相依性時變更。 相反地,請在建構函式中使用這個類型,讓相依性插入容器自動建立和插入實例。 若要建立已取代某些相依服務的實例,請先從相依性插入容器解析物件,然後使用 C# 'with' 運算子取代選取的服務。 請勿在此進程中的任何時間點呼叫建構函式。

適用於

ProviderConventionSetBuilderDependencies(ITypeMappingSource, IConstructorBindingFactory, IParameterBindingFactories, IMemberClassifier, IDiagnosticsLogger<DbLoggerCategory.Model>, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>, IDbSetFinder, ICurrentDbContext, IModelValidator)

建立 的服務 ProviderConventionSetBuilder 相依性參數物件。

請勿直接從提供者或應用程式程式碼呼叫此建構函式,因為它可能會在新增相依性時變更。 相反地,請在建構函式中使用這個類型,讓相依性插入容器自動建立和插入實例。 若要建立已取代某些相依服務的實例,請先從相依性插入容器解析物件,然後使用 'With...' 取代選取的服務方法。 請勿在此進程中的任何時間點呼叫建構函式。

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public ProviderConventionSetBuilderDependencies (Microsoft.EntityFrameworkCore.Storage.ITypeMappingSource typeMappingSource, Microsoft.EntityFrameworkCore.Metadata.IConstructorBindingFactory constructorBindingFactory, Microsoft.EntityFrameworkCore.Metadata.IParameterBindingFactories parameterBindingFactories, Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier memberClassifier, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> logger, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> validationLogger, Microsoft.EntityFrameworkCore.Infrastructure.IDbSetFinder setFinder, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Infrastructure.IModelValidator validator);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies : Microsoft.EntityFrameworkCore.Storage.ITypeMappingSource * Microsoft.EntityFrameworkCore.Metadata.IConstructorBindingFactory * Microsoft.EntityFrameworkCore.Metadata.IParameterBindingFactories * Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Infrastructure.IDbSetFinder * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Infrastructure.IModelValidator -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies
Public Sub New (typeMappingSource As ITypeMappingSource, constructorBindingFactory As IConstructorBindingFactory, parameterBindingFactories As IParameterBindingFactories, memberClassifier As IMemberClassifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model), validationLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), setFinder As IDbSetFinder, currentContext As ICurrentDbContext, validator As IModelValidator)

參數

typeMappingSource
ITypeMappingSource
constructorBindingFactory
IConstructorBindingFactory
parameterBindingFactories
IParameterBindingFactories
memberClassifier
Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier
setFinder
IDbSetFinder
currentContext
ICurrentDbContext
validator
IModelValidator
屬性

適用於

ProviderConventionSetBuilderDependencies(ITypeMappingSource, IConstructorBindingFactory, IParameterBindingFactories, IMemberClassifier, IDiagnosticsLogger<DbLoggerCategory.Model>, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>, IDbSetFinder, ICurrentDbContext, IModelValidator)

建立 的服務 ProviderConventionSetBuilder 相依性參數物件。

請勿直接從提供者或應用程式程式碼呼叫此建構函式,因為它可能會在新增相依性時變更。 相反地,請在建構函式中使用這個類型,讓相依性插入容器自動建立和插入實例。 若要建立已取代某些相依服務的實例,請先從相依性插入容器解析物件,然後使用 'With...' 取代選取的服務方法。 請勿在此進程中的任何時間點呼叫建構函式。

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public ProviderConventionSetBuilderDependencies (Microsoft.EntityFrameworkCore.Storage.ITypeMappingSource typeMappingSource, Microsoft.EntityFrameworkCore.Metadata.IConstructorBindingFactory constructorBindingFactory, Microsoft.EntityFrameworkCore.Metadata.IParameterBindingFactories parameterBindingFactories, Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier memberClassifier, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> logger, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> validationLogger, Microsoft.EntityFrameworkCore.Internal.IDbSetFinder setFinder, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Infrastructure.IModelValidator validator);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies : Microsoft.EntityFrameworkCore.Storage.ITypeMappingSource * Microsoft.EntityFrameworkCore.Metadata.IConstructorBindingFactory * Microsoft.EntityFrameworkCore.Metadata.IParameterBindingFactories * Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Internal.IDbSetFinder * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Infrastructure.IModelValidator -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies
Public Sub New (typeMappingSource As ITypeMappingSource, constructorBindingFactory As IConstructorBindingFactory, parameterBindingFactories As IParameterBindingFactories, memberClassifier As IMemberClassifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model), validationLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), setFinder As IDbSetFinder, currentContext As ICurrentDbContext, validator As IModelValidator)

參數

typeMappingSource
ITypeMappingSource
constructorBindingFactory
IConstructorBindingFactory
parameterBindingFactories
IParameterBindingFactories
memberClassifier
Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier
setFinder
Microsoft.EntityFrameworkCore.Internal.IDbSetFinder
currentContext
ICurrentDbContext
validator
IModelValidator
屬性

適用於