共用方式為


KeyDiscoveryConvention.ProcessForeignKeyUniquenessChanged 方法

定義

多載

ProcessForeignKeyUniquenessChanged(IConventionForeignKeyBuilder, IConventionContext<Nullable<Boolean>>)

在外鍵的唯一性變更之後呼叫。

ProcessForeignKeyUniquenessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

在外鍵的唯一性變更之後呼叫。

ProcessForeignKeyUniquenessChanged(IConventionForeignKeyBuilder, IConventionContext<Nullable<Boolean>>)

來源:
KeyDiscoveryConvention.cs
來源:
KeyDiscoveryConvention.cs
來源:
KeyDiscoveryConvention.cs
來源:
KeyDiscoveryConvention.cs
來源:
KeyDiscoveryConvention.cs

在外鍵的唯一性變更之後呼叫。

public virtual void ProcessForeignKeyUniquenessChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<bool?> context);
abstract member ProcessForeignKeyUniquenessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
override this.ProcessForeignKeyUniquenessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
Public Overridable Sub ProcessForeignKeyUniquenessChanged (relationshipBuilder As IConventionForeignKeyBuilder, context As IConventionContext(Of Nullable(Of Boolean)))

參數

relationshipBuilder
IConventionForeignKeyBuilder

外鍵的產生器。

context
IConventionContext<Nullable<Boolean>>

與慣例執行相關聯的其他資訊。

實作

適用於

ProcessForeignKeyUniquenessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

來源:
KeyDiscoveryConvention.cs
來源:
KeyDiscoveryConvention.cs

在外鍵的唯一性變更之後呼叫。

public virtual void ProcessForeignKeyUniquenessChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> context);
abstract member ProcessForeignKeyUniquenessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> -> unit
override this.ProcessForeignKeyUniquenessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> -> unit
Public Overridable Sub ProcessForeignKeyUniquenessChanged (relationshipBuilder As IConventionRelationshipBuilder, context As IConventionContext(Of IConventionRelationshipBuilder))

參數

relationshipBuilder
IConventionRelationshipBuilder

外鍵的產生器。

context
IConventionContext<IConventionRelationshipBuilder>

與慣例執行相關聯的其他資訊。

實作

適用於