IModelCodeGeneratorSelector.Select 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Select(ModelCodeGenerationOptions) |
为一 IModelCodeGenerator 组给定的选项选择一个服务。 |
Select(String) |
已过时.
IModelCodeGenerator为给定的编程语言选择一个服务。 |
Select(ModelCodeGenerationOptions)
为一 IModelCodeGenerator 组给定的选项选择一个服务。
public virtual Microsoft.EntityFrameworkCore.Scaffolding.IModelCodeGenerator Select (Microsoft.EntityFrameworkCore.Scaffolding.ModelCodeGenerationOptions options);
abstract member Select : Microsoft.EntityFrameworkCore.Scaffolding.ModelCodeGenerationOptions -> Microsoft.EntityFrameworkCore.Scaffolding.IModelCodeGenerator
override this.Select : Microsoft.EntityFrameworkCore.Scaffolding.ModelCodeGenerationOptions -> Microsoft.EntityFrameworkCore.Scaffolding.IModelCodeGenerator
Public Overridable Function Select (options As ModelCodeGenerationOptions) As IModelCodeGenerator
参数
- options
- ModelCodeGenerationOptions
选项。
返回
适用于
Select(String)
注意
Use the overload that takes ModelCodeGenerationOptions instead.
IModelCodeGenerator为给定的编程语言选择一个服务。
public Microsoft.EntityFrameworkCore.Scaffolding.IModelCodeGenerator Select (string language);
public Microsoft.EntityFrameworkCore.Scaffolding.IModelCodeGenerator Select (string? language);
[System.Obsolete("Use the overload that takes ModelCodeGenerationOptions instead.")]
public Microsoft.EntityFrameworkCore.Scaffolding.IModelCodeGenerator Select (string? language);
abstract member Select : string -> Microsoft.EntityFrameworkCore.Scaffolding.IModelCodeGenerator
[<System.Obsolete("Use the overload that takes ModelCodeGenerationOptions instead.")>]
abstract member Select : string -> Microsoft.EntityFrameworkCore.Scaffolding.IModelCodeGenerator
Public Function Select (language As String) As IModelCodeGenerator
参数
- language
- String
编程语言。
返回
- 属性