Condividi tramite


CSharpSnapshotGenerator.GenerateCheckConstraintAnnotations Metodo

Definizione

Genera il codice per le annotazioni dei vincoli CHECK.

protected virtual void GenerateCheckConstraintAnnotations (Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateCheckConstraintAnnotations : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateCheckConstraintAnnotations : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateCheckConstraintAnnotations (checkConstraint As ICheckConstraint, stringBuilder As IndentedStringBuilder)

Parametri

checkConstraint
ICheckConstraint

Vincolo CHECK.

stringBuilder
IndentedStringBuilder

Il codice del generatore viene aggiunto a .

Si applica a