Compartir a través de


CSharpSnapshotGenerator.GeneratePropertyOverride Método

Definición

Genera código para .IRelationalPropertyOverrides

protected virtual void GeneratePropertyOverride (string tableBuilderName, Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides overrides, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GeneratePropertyOverride : string * Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GeneratePropertyOverride : string * Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GeneratePropertyOverride (tableBuilderName As String, overrides As IRelationalPropertyOverrides, stringBuilder As IndentedStringBuilder)

Parámetros

tableBuilderName
String

Nombre de la variable del generador de tablas.

overrides
IRelationalPropertyOverrides

Invalidaciones.

stringBuilder
IndentedStringBuilder

El código del generador se agrega a .

Se aplica a