Partager via


CSharpSnapshotGenerator.Generate Méthode

Définition

Surcharges

Generate(String, IModel, IndentedStringBuilder)

Génère du code pour la création d’un IModel.

Generate(String, IModel, IndentedStringBuilder)

Génère du code pour la création d’un IModel.

Generate(String, IModel, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs

Génère du code pour la création d’un IModel.

public virtual void Generate (string builderName, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member Generate : string * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : string * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Public Overridable Sub Generate (builderName As String, model As IModel, stringBuilder As IndentedStringBuilder)

Paramètres

builderName
String

Nom de la ModelBuilder variable.

model
IModel

Modèle.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Le code du générateur est ajouté à.

Implémente

S’applique à

Generate(String, IModel, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs

Génère du code pour la création d’un IModel.

public virtual void Generate (string builderName, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
public virtual void Generate (string modelBuilderName, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member Generate : string * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : string * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member Generate : string * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : string * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Public Overridable Sub Generate (builderName As String, model As IModel, stringBuilder As IndentedStringBuilder)
Public Overridable Sub Generate (modelBuilderName As String, model As IModel, stringBuilder As IndentedStringBuilder)

Paramètres

builderNamemodelBuilderName
String

Nom de la ModelBuilder variable.

model
IModel

Modèle.

stringBuilder
IndentedStringBuilder

Le code du générateur est ajouté à.

Implémente

S’applique à