共用方式為


DatabaseProvider<TOptionsExtension> 建構函式

定義

初始化 DatabaseProvider<TOptionsExtension> 類別的新執行個體。

public DatabaseProvider (Microsoft.EntityFrameworkCore.Storage.DatabaseProviderDependencies dependencies);
new Microsoft.EntityFrameworkCore.Storage.DatabaseProvider<'OptionsExtension (requires 'OptionsExtension : null and 'OptionsExtension :> Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension)> : Microsoft.EntityFrameworkCore.Storage.DatabaseProviderDependencies -> Microsoft.EntityFrameworkCore.Storage.DatabaseProvider<'OptionsExtension (requires 'OptionsExtension : null and 'OptionsExtension :> Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension)>
Public Sub New (dependencies As DatabaseProviderDependencies)

參數

dependencies
DatabaseProviderDependencies

包含此服務相依性的參數物件。

適用於