CSharpSnapshotGenerator.GenerateProperty 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
| GenerateProperty(IProperty, IndentedStringBuilder) | |
| GenerateProperty(String, IProperty, IndentedStringBuilder) |
Génère du code pour un IProperty. |
| GenerateProperty(String, IProperty, IndentedStringBuilder) |
Génère du code pour un IProperty. |
GenerateProperty(IProperty, IndentedStringBuilder)
protected virtual void GenerateProperty(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateProperty : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateProperty : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateProperty (property As IProperty, stringBuilder As IndentedStringBuilder)
Paramètres
- property
- IProperty
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
S’applique à
GenerateProperty(String, IProperty, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
Génère du code pour un IProperty.
protected virtual void GenerateProperty(string builderName, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateProperty (builderName As String, property As IProperty, stringBuilder As IndentedStringBuilder)
Paramètres
- builderName
- String
Nom de la variable de générateur.
- property
- IProperty
Propriété.
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
Le code du générateur est ajouté à.
S’applique à
GenerateProperty(String, IProperty, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
Génère du code pour un IProperty.
protected virtual void GenerateProperty(string builderName, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateProperty(string entityTypeBuilderName, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateProperty (builderName As String, property As IProperty, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateProperty (entityTypeBuilderName As String, property As IProperty, stringBuilder As IndentedStringBuilder)
Paramètres
- builderNameentityTypeBuilderName
- String
Nom de la variable de générateur.
- property
- IProperty
Propriété.
- stringBuilder
- IndentedStringBuilder
Le code du générateur est ajouté à.