Compartir a través de


CSharpSnapshotGenerator.GenerateCheckConstraints Método

Definición

Sobrecargas

GenerateCheckConstraints(String, IEntityType, IndentedStringBuilder)

Genera código para ICheckConstraint objetos .

GenerateCheckConstraints(String, IEntityType, IndentedStringBuilder)

Genera código para ICheckConstraint objetos .

GenerateCheckConstraints(String, IEntityType, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs

Genera código para ICheckConstraint objetos .

protected virtual void GenerateCheckConstraints (string builderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateCheckConstraints : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateCheckConstraints : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateCheckConstraints (builderName As String, entityType As IEntityType, stringBuilder As IndentedStringBuilder)

Parámetros

builderName
String

Nombre de la variable del generador.

entityType
IEntityType

El tipo de entidad.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

El código del generador se agrega a .

Se aplica a

GenerateCheckConstraints(String, IEntityType, IndentedStringBuilder)

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

Genera código para ICheckConstraint objetos .

protected virtual void GenerateCheckConstraints (string builderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateCheckConstraints (string entityTypeBuilderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateCheckConstraints : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateCheckConstraints : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateCheckConstraints : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateCheckConstraints : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateCheckConstraints (builderName As String, entityType As IEntityType, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateCheckConstraints (entityTypeBuilderName As String, entityType As IEntityType, stringBuilder As IndentedStringBuilder)

Parámetros

builderNameentityTypeBuilderName
String

Nombre de la variable del generador.

entityType
IEntityType

El tipo de entidad.

stringBuilder
IndentedStringBuilder

El código del generador se agrega a .

Se aplica a