AssociationTypeMapping 建構函式
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
建立 AssociationTypeMapping 執行個體。
命名空間: System.Data.Entity.Core.Mapping
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Sub New ( _
associationSetMapping As AssociationSetMapping _
)
'用途
Dim associationSetMapping As AssociationSetMapping
Dim instance As New AssociationTypeMapping(associationSetMapping)
public AssociationTypeMapping(
AssociationSetMapping associationSetMapping
)
public:
AssociationTypeMapping(
AssociationSetMapping^ associationSetMapping
)
new :
associationSetMapping:AssociationSetMapping -> AssociationTypeMapping
public function AssociationTypeMapping(
associationSetMapping : AssociationSetMapping
)
參數
- associationSetMapping
類型:System.Data.Entity.Core.Mapping.AssociationSetMapping
包含此 AssociationTypeMapping 的 AssociationSetMapping。