IDesignTimeDbContextFactory<TContext>.CreateDbContext(String[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個衍生上下文的新實例。
public TContext CreateDbContext(string[] args);
abstract member CreateDbContext : string[] -> 'Context
Public Function CreateDbContext (args As String()) As TContext
參數
- args
- String[]
由設計時服務提供的論點。
傳回
TContext
TContext的實例。