Partilhar via


CSharpSnapshotGenerator.GenerateCheckConstraint Método

Definição

Sobrecargas

GenerateCheckConstraint(String, ICheckConstraint, IndentedStringBuilder)

Gera código para um ICheckConstraint.

GenerateCheckConstraint(String, ICheckConstraint, IndentedStringBuilder)

Gera código para um ICheckConstraint.

GenerateCheckConstraint(String, ICheckConstraint, IndentedStringBuilder)

Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs

Gera código para um 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)

Parâmetros

builderName
String

O nome da variável do construtor.

checkConstraint
ICheckConstraint

A restrição marcar.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a

GenerateCheckConstraint(String, ICheckConstraint, IndentedStringBuilder)

Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs

Gera código para um 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)

Parâmetros

builderNameentityTypeBuilderName
String

O nome da variável do construtor.

checkConstraint
ICheckConstraint

A restrição marcar.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a