Bagikan melalui


CSharpSnapshotGenerator.GeneratePropertyOverridesAnnotations Metode

Definisi

Menghasilkan kode untuk properti mengambil alih anotasi.

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

Parameter

propertyBuilderName
String

Nama variabel penyusun.

overrides
IRelationalPropertyOverrides

Penimpaan.

stringBuilder
IndentedStringBuilder

Kode penyusun ditambahkan ke.

Berlaku untuk