CSharpSnapshotGenerator.Generate Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
Generate(String, IModel, IndentedStringBuilder) |
Generuje kod do utworzenia elementu IModel. |
Generate(String, IModel, IndentedStringBuilder) |
Generuje kod do utworzenia elementu IModel. |
Generate(String, IModel, IndentedStringBuilder)
- Źródło:
- CSharpSnapshotGenerator.cs
- Źródło:
- CSharpSnapshotGenerator.cs
- Źródło:
- CSharpSnapshotGenerator.cs
- Źródło:
- CSharpSnapshotGenerator.cs
Generuje kod do utworzenia elementu 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)
Parametry
- builderName
- String
Nazwa zmiennej ModelBuilder .
- model
- IModel
Model.
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
Kod konstruktora jest dodawany do.
Implementuje
Dotyczy
Generate(String, IModel, IndentedStringBuilder)
- Źródło:
- CSharpSnapshotGenerator.cs
- Źródło:
- CSharpSnapshotGenerator.cs
- Źródło:
- CSharpSnapshotGenerator.cs
- Źródło:
- CSharpSnapshotGenerator.cs
- Źródło:
- CSharpSnapshotGenerator.cs
Generuje kod do utworzenia elementu 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)
Parametry
- builderNamemodelBuilderName
- String
Nazwa zmiennej ModelBuilder .
- model
- IModel
Model.
- stringBuilder
- IndentedStringBuilder
Kod konstruktora jest dodawany do.
Implementuje
Dotyczy
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.