IModelCodeGeneratorSelector.Select 方法

定义

重载

Select(ModelCodeGenerationOptions)

为一 IModelCodeGenerator 组给定的选项选择一个服务。

Select(String)
已过时.

IModelCodeGenerator为给定的编程语言选择一个服务。

Select(ModelCodeGenerationOptions)

Source:
IModelCodeGeneratorSelector.cs
Source:
IModelCodeGeneratorSelector.cs
Source:
IModelCodeGeneratorSelector.cs

为一 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

选项。

返回

IModelCodeGenerator

适用于

Select(String)

Source:
IModelCodeGeneratorSelector.cs
Source:
IModelCodeGeneratorSelector.cs
Source:
IModelCodeGeneratorSelector.cs

注意

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

编程语言。

返回

IModelCodeGenerator

属性

适用于