Compartir a través de


CSharpSnapshotGenerator.GenerateCheckConstraint Método

Definición

Sobrecargas

GenerateCheckConstraint(String, ICheckConstraint, IndentedStringBuilder)

Genera código para .ICheckConstraint

GenerateCheckConstraint(String, ICheckConstraint, IndentedStringBuilder)

Genera código para .ICheckConstraint

GenerateCheckConstraint(String, ICheckConstraint, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs

Genera código para .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

Nombre de la variable del generador.

checkConstraint
ICheckConstraint

Restricción check.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

El código del generador se agrega a .

Se aplica a

GenerateCheckConstraint(String, ICheckConstraint, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs

Genera código para .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

Nombre de la variable del generador.

checkConstraint
ICheckConstraint

Restricción check.

stringBuilder
IndentedStringBuilder

El código del generador se agrega a .

Se aplica a