StructuralTypeMapping.RemoveCondition 方法
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
移除屬性對應條件。
命名空間: System.Data.Entity.Core.Mapping
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public MustOverride Sub RemoveCondition ( _
condition As ConditionPropertyMapping _
)
'用途
Dim instance As StructuralTypeMapping
Dim condition As ConditionPropertyMapping
instance.RemoveCondition(condition)
public abstract void RemoveCondition(
ConditionPropertyMapping condition
)
public:
virtual void RemoveCondition(
ConditionPropertyMapping^ condition
) abstract
abstract RemoveCondition :
condition:ConditionPropertyMapping -> unit
public abstract function RemoveCondition(
condition : ConditionPropertyMapping
)
參數
- condition
類型:System.Data.Entity.Core.Mapping.ConditionPropertyMapping
要移除的屬性對應條件。