共用方式為


IModelCodeGeneratorSelector.Select 方法

定義

多載

Select(ModelCodeGenerationOptions)

IModelCodeGenerator選取一組指定選項的服務。

Select(String)
已淘汰.

IModelCodeGenerator為指定的程式設計語言選取服務。

Select(ModelCodeGenerationOptions)

來源:
IModelCodeGeneratorSelector.cs
來源:
IModelCodeGeneratorSelector.cs
來源:
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)

來源:
IModelCodeGeneratorSelector.cs
來源:
IModelCodeGeneratorSelector.cs
來源:
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

屬性

適用於