Sdílet prostřednictvím


CSharpSnapshotGenerator.GenerateCheckConstraints Metoda

Definice

Přetížení

GenerateCheckConstraints(String, IEntityType, IndentedStringBuilder)

Generuje kód pro ICheckConstraint objekty.

GenerateCheckConstraints(String, IEntityType, IndentedStringBuilder)

Generuje kód pro ICheckConstraint objekty.

GenerateCheckConstraints(String, IEntityType, IndentedStringBuilder)

Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs

Generuje kód pro ICheckConstraint objekty.

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)

Parametry

builderName
String

Název proměnné tvůrce.

entityType
IEntityType

Typ entity.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Kód tvůrce se přidá do.

Platí pro

GenerateCheckConstraints(String, IEntityType, IndentedStringBuilder)

Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs

Generuje kód pro ICheckConstraint objekty.

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)

Parametry

builderNameentityTypeBuilderName
String

Název proměnné tvůrce.

entityType
IEntityType

Typ entity.

stringBuilder
IndentedStringBuilder

Kód tvůrce se přidá do.

Platí pro