CSharpSnapshotGenerator.GenerateComplexProperty Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| GenerateComplexProperty(String, IComplexProperty, IndentedStringBuilder) |
Génère du code pour un IComplexProperty. |
| GenerateComplexProperty(String, IComplexProperty, CSharpSnapshotGeneratorParameters) |
Génère du code pour un IComplexProperty. |
GenerateComplexProperty(String, IComplexProperty, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
Génère du code pour un IComplexProperty.
protected virtual void GenerateComplexProperty(string builderName, Microsoft.EntityFrameworkCore.Metadata.IComplexProperty complexProperty, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateComplexProperty : string * Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateComplexProperty : string * Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateComplexProperty (builderName As String, complexProperty As IComplexProperty, stringBuilder As IndentedStringBuilder)
Paramètres
- builderName
- String
Nom de la variable du générateur.
- complexProperty
- IComplexProperty
Type d’entité.
- stringBuilder
- IndentedStringBuilder
Le code du générateur est ajouté.
S’applique à
GenerateComplexProperty(String, IComplexProperty, CSharpSnapshotGeneratorParameters)
- Source:
- CSharpSnapshotGenerator.cs
Génère du code pour un IComplexProperty.
protected virtual void GenerateComplexProperty(string builderName, Microsoft.EntityFrameworkCore.Metadata.IComplexProperty complexProperty, Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters parameters);
abstract member GenerateComplexProperty : string * Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters -> unit
override this.GenerateComplexProperty : string * Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters -> unit
Protected Overridable Sub GenerateComplexProperty (builderName As String, complexProperty As IComplexProperty, parameters As CSharpSnapshotGeneratorParameters)
Paramètres
- builderName
- String
Nom de la variable du générateur.
- complexProperty
- IComplexProperty
Type d’entité.
- parameters
- CSharpSnapshotGeneratorParameters
Contexte de génération.