次の方法で共有


PropertyMaxLengthConvention.Apply メソッド

定義

オーバーロード

Apply(AssociationType, DbModel)

モデル内の項目にこの規則を適用します。

Apply(ComplexType, DbModel)

モデル内の項目にこの規則を適用します。

Apply(EntityType, DbModel)

モデル内の項目にこの規則を適用します。

Apply(AssociationType, DbModel)

モデル内の項目にこの規則を適用します。

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

モデル。

実装

適用対象

Apply(ComplexType, DbModel)

モデル内の項目にこの規則を適用します。

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

パラメーター

item
ComplexType

規則を適用する項目。

model
DbModel

モデル。

実装

適用対象

Apply(EntityType, DbModel)

モデル内の項目にこの規則を適用します。

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

パラメーター

item
EntityType

規則を適用する項目。

model
DbModel

モデル。

実装

適用対象