Compartir a través de


CSharpSnapshotGenerator.GenerateCheckConstraintAnnotations Método

Definición

Genera código para las anotaciones de restricción 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)

Parámetros

checkConstraint
ICheckConstraint

Restricción check.

stringBuilder
IndentedStringBuilder

El código del generador se agrega a .

Se aplica a