共用方式為


DbContextOptionsExtensionInfo(IDbContextOptionsExtension) 建構函式

定義

建立新的 DbContextOptionsExtensionInfo 實例,其中包含指定延伸模組的資訊/中繼資料。

protected DbContextOptionsExtensionInfo (Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension extension);
new Microsoft.EntityFrameworkCore.Infrastructure.DbContextOptionsExtensionInfo : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension -> Microsoft.EntityFrameworkCore.Infrastructure.DbContextOptionsExtensionInfo
Protected Sub New (extension As IDbContextOptionsExtension)

參數

extension
IDbContextOptionsExtension

擴充。

備註

如需詳細資訊和範例,請參閱 資料庫提供者和延伸模組的實作

適用於