Share via


CSharpSnapshotGenerator.GenerateCheckConstraintAnnotations Method

Definition

Generates code for check constraint annotations.

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)

Parameters

checkConstraint
ICheckConstraint

The check constraint.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to