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