ProviderCodeGenerator.GenerateContextOptions 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
產生方法鏈以配置額外的上下文選項。
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateContextOptions();
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateContextOptions();
abstract member GenerateContextOptions : unit -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateContextOptions : unit -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Overridable Function GenerateContextOptions () As MethodCallCodeFragment
傳回
方法鏈。 可以為 null。