RelationalOptionsExtension.Extract(IDbContextOptions) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
尋找 RelationalOptionsExtension 已登記在指定選項上的現有玩家,若沒有註冊選項則棄牌。 這通常用於在已知使用關聯提供者時,找到某種關聯配置。
public static Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension Extract(Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions options);
static member Extract : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension
Public Shared Function Extract (options As IDbContextOptions) As RelationalOptionsExtension
參數
- options
- IDbContextOptions
你可以參考的情境選項。
傳回
延長。