Поделиться через


CSharpSnapshotGenerator.GenerateProperty Метод

Определение

Перегрузки

GenerateProperty(IProperty, IndentedStringBuilder)
GenerateProperty(String, IProperty, IndentedStringBuilder)

Создает код для IProperty.

GenerateProperty(String, IProperty, IndentedStringBuilder)

Создает код для IProperty.

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)

Параметры

property
IProperty
stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Применяется к

GenerateProperty(String, IProperty, IndentedStringBuilder)

Исходный код:
CSharpSnapshotGenerator.cs
Исходный код:
CSharpSnapshotGenerator.cs
Исходный код:
CSharpSnapshotGenerator.cs
Исходный код:
CSharpSnapshotGenerator.cs

Создает код для 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)

Параметры

builderName
String

Имя переменной построителя.

property
IProperty

Свойство.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Код построителя добавляется в .

Применяется к

GenerateProperty(String, IProperty, IndentedStringBuilder)

Исходный код:
CSharpSnapshotGenerator.cs
Исходный код:
CSharpSnapshotGenerator.cs
Исходный код:
CSharpSnapshotGenerator.cs
Исходный код:
CSharpSnapshotGenerator.cs
Исходный код:
CSharpSnapshotGenerator.cs

Создает код для IProperty.

protected virtual void GenerateProperty (string builderName, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateProperty (string entityTypeBuilderName, 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 (builderName As String, property As IProperty, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateProperty (entityTypeBuilderName As String, property As IProperty, stringBuilder As IndentedStringBuilder)

Параметры

builderNameentityTypeBuilderName
String

Имя переменной построителя.

property
IProperty

Свойство.

stringBuilder
IndentedStringBuilder

Код построителя добавляется в .

Применяется к