英語で読む

次の方法で共有


CSharpSnapshotGenerator.GeneratePropertyAnnotations メソッド

定義

オーバーロード

GeneratePropertyAnnotations(IProperty, IndentedStringBuilder)

ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs

の注釈のコードを IProperty生成します。

protected virtual void GeneratePropertyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);

パラメーター

property
IProperty

プロパティ。

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

ビルダー コードが に追加されます。

適用対象

Entity Framework Core 3.1 およびその他のバージョン
製品 バージョン
Entity Framework Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1

GeneratePropertyAnnotations(String, IProperty, IndentedStringBuilder)

ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs

の注釈のコードを IProperty生成します。

protected virtual void GeneratePropertyAnnotations (string propertyBuilderName, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);

パラメーター

propertyBuilderName
String

ビルダー変数の名前。

property
IProperty

プロパティ。

stringBuilder
IndentedStringBuilder

ビルダー コードが に追加されます。

適用対象

Entity Framework Core 9.0 およびその他のバージョン
製品 バージョン
Entity Framework Core 6.0, 7.0, 8.0, 9.0

GeneratePropertyAnnotations(IProperty, IndentedStringBuilder)

ソース:
CSharpSnapshotGenerator.cs

の注釈のコードを IProperty生成します。

protected virtual void GeneratePropertyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);

パラメーター

property
IProperty

プロパティ。

stringBuilder
IndentedStringBuilder

ビルダー コードが に追加されます。

適用対象

Entity Framework Core 5.0
製品 バージョン
Entity Framework Core 5.0