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