Język

CSharpSnapshotGenerator.GenerateProperty Metoda

Definicja

Przeciążenia

GenerateProperty(IProperty, IndentedStringBuilder)

protected virtual void GenerateProperty(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateProperty : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateProperty : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateProperty (property As IProperty, stringBuilder As IndentedStringBuilder)

Parametry

property
IProperty
stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Dotyczy

GenerateProperty(String, IProperty, IndentedStringBuilder)

Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs

Generuje kod dla elementu IProperty.

protected virtual void GenerateProperty(string builderName, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateProperty (builderName As String, property As IProperty, stringBuilder As IndentedStringBuilder)

Parametry

builderName
String

Nazwa zmiennej konstruktora.

property
IProperty

Właściwość.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Dodawany jest kod konstruktora.

Dotyczy

GenerateProperty(String, IProperty, CSharpSnapshotGeneratorParameters)

Źródło:
CSharpSnapshotGenerator.cs

Generuje kod dla elementu IProperty.

protected virtual void GenerateProperty(string entityTypeBuilderName, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters parameters);
abstract member GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters -> unit
override this.GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters -> unit
Protected Overridable Sub GenerateProperty (entityTypeBuilderName As String, property As IProperty, parameters As CSharpSnapshotGeneratorParameters)

Parametry

entityTypeBuilderName
String

Nazwa zmiennej konstruktora.

property
IProperty

Właściwość.

parameters
CSharpSnapshotGeneratorParameters

Kontekst generowania.

Dotyczy

GenerateProperty(String, IProperty, IndentedStringBuilder)

Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs

Generuje kod dla elementu IProperty.

protected virtual void GenerateProperty(string entityTypeBuilderName, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateProperty(string builderName, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateProperty (entityTypeBuilderName As String, property As IProperty, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateProperty (builderName As String, property As IProperty, stringBuilder As IndentedStringBuilder)

Parametry

builderNameentityTypeBuilderName
String

Nazwa zmiennej konstruktora.

property
IProperty

Właściwość.

stringBuilder
IndentedStringBuilder

Dodawany jest kod konstruktora.

Dotyczy