Compartir a través de


ICSharpSnapshotGenerator.Generate Método

Definición

Sobrecargas

Generate(String, IModel, IndentedStringBuilder)

Genera código para crear un IModel.

Generate(String, IModel, IndentedStringBuilder)

Genera código para crear un IModel.

Generate(String, IModel, IndentedStringBuilder)

Source:
ICSharpSnapshotGenerator.cs
Source:
ICSharpSnapshotGenerator.cs
Source:
ICSharpSnapshotGenerator.cs

Genera código para crear un IModel.

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

Parámetros

builderName
String

Nombre de ModelBuilder la variable.

model
IModel

Modelo.

stringBuilder
IndentedStringBuilder

El código del generador se agrega a .

Se aplica a

Generate(String, IModel, IndentedStringBuilder)

Genera código para crear un IModel.

public 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
Public Sub Generate (builderName As String, model As IModel, stringBuilder As IndentedStringBuilder)

Parámetros

builderName
String

Nombre de ModelBuilder la variable.

model
IModel

Modelo.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

El código del generador se agrega a .

Se aplica a