AssociationSetModificationFunctionMapping 建構函式
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
初始化新的 AssociationSetModificationFunctionMapping 執行個體。
命名空間: System.Data.Entity.Core.Mapping
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Sub New ( _
associationSet As AssociationSet, _
deleteFunctionMapping As ModificationFunctionMapping, _
insertFunctionMapping As ModificationFunctionMapping _
)
'用途
Dim associationSet As AssociationSet
Dim deleteFunctionMapping As ModificationFunctionMapping
Dim insertFunctionMapping As ModificationFunctionMapping
Dim instance As New AssociationSetModificationFunctionMapping(associationSet, _
deleteFunctionMapping, insertFunctionMapping)
public AssociationSetModificationFunctionMapping(
AssociationSet associationSet,
ModificationFunctionMapping deleteFunctionMapping,
ModificationFunctionMapping insertFunctionMapping
)
public:
AssociationSetModificationFunctionMapping(
AssociationSet^ associationSet,
ModificationFunctionMapping^ deleteFunctionMapping,
ModificationFunctionMapping^ insertFunctionMapping
)
new :
associationSet:AssociationSet *
deleteFunctionMapping:ModificationFunctionMapping *
insertFunctionMapping:ModificationFunctionMapping -> AssociationSetModificationFunctionMapping
public function AssociationSetModificationFunctionMapping(
associationSet : AssociationSet,
deleteFunctionMapping : ModificationFunctionMapping,
insertFunctionMapping : ModificationFunctionMapping
)
參數
- associationSet
類型:System.Data.Entity.Core.Metadata.Edm.AssociationSet
關聯集。
- deleteFunctionMapping
類型:System.Data.Entity.Core.Mapping.ModificationFunctionMapping
刪除函式對應。
- insertFunctionMapping
類型:System.Data.Entity.Core.Mapping.ModificationFunctionMapping
插入函式對應。