Compartir a través de


CSharpSnapshotGenerator.GeneratePropertyOverrides Método

Definición

Genera código para IRelationalPropertyOverrides objetos.

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

Parámetros

tableBuilderName
String

Nombre de la variable del generador de tablas.

entityType
IEntityType

El tipo de entidad.

storeObject
StoreObjectIdentifier

Identificador del objeto de almacén.

stringBuilder
IndentedStringBuilder

El código del generador se agrega a .

Se aplica a