语言

IProviderCodeGeneratorPlugin.GenerateContextOptions 方法

定义

生成用于配置其他上下文选项的方法链。

public Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateContextOptions();
public Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateContextOptions();
abstract member GenerateContextOptions : unit -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Function GenerateContextOptions () As MethodCallCodeFragment

返回

方法链。 可以为 null。

适用于