CSharpSnapshotGenerator.GenerateForeignKeyAnnotations Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder) |
Genera il codice per le annotazioni su una chiave esterna. |
GenerateForeignKeyAnnotations(String, IForeignKey, IndentedStringBuilder) |
Genera il codice per le annotazioni su una chiave esterna. |
GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder) |
Genera il codice per le annotazioni su una chiave esterna. |
GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)
- Origine:
- CSharpSnapshotGenerator.cs
- Origine:
- CSharpSnapshotGenerator.cs
- Origine:
- CSharpSnapshotGenerator.cs
- Origine:
- CSharpSnapshotGenerator.cs
Genera il codice per le annotazioni su una chiave esterna.
protected virtual void GenerateForeignKeyAnnotations(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKeyAnnotations (foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)
Parametri
- foreignKey
- IForeignKey
Chiave esterna.
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
Il codice del generatore viene aggiunto a .
Si applica a
GenerateForeignKeyAnnotations(String, IForeignKey, IndentedStringBuilder)
- Origine:
- CSharpSnapshotGenerator.cs
- Origine:
- CSharpSnapshotGenerator.cs
- Origine:
- CSharpSnapshotGenerator.cs
- Origine:
- CSharpSnapshotGenerator.cs
Genera il codice per le annotazioni su una chiave esterna.
protected virtual void GenerateForeignKeyAnnotations(string foreignKeyBuilderName, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKeyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateForeignKeyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKeyAnnotations (foreignKeyBuilderName As String, foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)
Parametri
- foreignKeyBuilderName
- String
Nome della variabile del generatore.
- foreignKey
- IForeignKey
Chiave esterna.
- stringBuilder
- IndentedStringBuilder
Il codice del generatore viene aggiunto a .
Si applica a
GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)
- Origine:
- CSharpSnapshotGenerator.cs
Genera il codice per le annotazioni su una chiave esterna.
protected virtual void GenerateForeignKeyAnnotations(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKeyAnnotations (foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)
Parametri
- foreignKey
- IForeignKey
Chiave esterna.
- stringBuilder
- IndentedStringBuilder
Il codice del generatore viene aggiunto a .