Partilhar via


CSharpSnapshotGenerator.GeneratePropertyOverride Método

Definição

Gera código para um 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

O nome da variável do construtor de tabelas.

overrides
IRelationalPropertyOverrides

As substituições.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a