語言

OneToOneConstraintIntroductionConvention.Apply 方法

定義

將此慣例應用於模型中的一個項目。

public virtual void Apply(System.Data.Entity.Core.Metadata.Edm.AssociationType item, System.Data.Entity.Infrastructure.DbModel model);
abstract member Apply : System.Data.Entity.Core.Metadata.Edm.AssociationType * System.Data.Entity.Infrastructure.DbModel -> unit
override this.Apply : System.Data.Entity.Core.Metadata.Edm.AssociationType * System.Data.Entity.Infrastructure.DbModel -> unit
Public Overridable Sub Apply (item As AssociationType, model As DbModel)

參數

item
AssociationType

套用約定的項目。

model
DbModel

模型。

實作

適用於