次の方法で共有


CSharpSnapshotGenerator.GeneratePropertyOverrides メソッド

定義

オブジェクトのコードを IRelationalPropertyOverrides 生成します。

protected virtual void GeneratePropertyOverrides (string tableBuilderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GeneratePropertyOverrides : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GeneratePropertyOverrides : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GeneratePropertyOverrides (tableBuilderName As String, entityType As IEntityType, storeObject As StoreObjectIdentifier, stringBuilder As IndentedStringBuilder)

パラメーター

tableBuilderName
String

テーブル ビルダー変数の名前。

entityType
IEntityType

エンティティの型。

storeObject
StoreObjectIdentifier

ストア オブジェクト識別子。

stringBuilder
IndentedStringBuilder

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

適用対象