共用方式為


AssociationInverseDiscoveryConvention.Apply(EdmModel, DbModel) 方法

定義

將此慣例套用至模型中的專案。

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
public virtual void Apply (System.Data.Entity.Core.Metadata.Edm.EdmModel item, System.Data.Entity.Infrastructure.DbModel model);
abstract member Apply : System.Data.Entity.Core.Metadata.Edm.EdmModel * System.Data.Entity.Infrastructure.DbModel -> unit
override this.Apply : System.Data.Entity.Core.Metadata.Edm.EdmModel * System.Data.Entity.Infrastructure.DbModel -> unit
Public Overridable Sub Apply (item As EdmModel, model As DbModel)

參數

item
EdmModel

要套用慣例的專案。

model
DbModel

模型本身。

實作

屬性

適用於