共用方式為


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

建立器程式碼會新增至 。

適用於