Share via


IModelCodeGeneratorSelector.Select Method

Definition

Overloads

Select(ModelCodeGenerationOptions)

Selects an IModelCodeGenerator service for a given set of options.

Select(String)
Obsolete.

Selects an IModelCodeGenerator service for a given programming language.

Select(ModelCodeGenerationOptions)

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

Selects an IModelCodeGenerator service for a given set of options.

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

Parameters

options
ModelCodeGenerationOptions

The options.

Returns

The IModelCodeGenerator.

Applies to

Select(String)

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

Caution

Use the overload that takes ModelCodeGenerationOptions instead.

Selects an IModelCodeGenerator service for a given programming language.

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

Parameters

language
String

The programming language.

Returns

The IModelCodeGenerator.

Attributes

Applies to