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