Adds an association set mapping for a many-to-many relationship.

Namespace: HuagatiEDMXTools
Assembly: HuagatiEDMXTools (in HuagatiEDMXTools.dll) Version: 2.21.4044.31765

Syntax

C#
public AssociationSetMapping AddAssociationMapping(
	string name,
	ModelAssociationSet modelAssociationSet,
	StoreEntitySet storeJunctionEntitySet,
	StoreAssociationSet fromStoreAssocSet,
	StoreAssociationSet toStoreAssocSet
)
Visual Basic
Public Function AddAssociationMapping ( _
	name As String, _
	modelAssociationSet As ModelAssociationSet, _
	storeJunctionEntitySet As StoreEntitySet, _
	fromStoreAssocSet As StoreAssociationSet, _
	toStoreAssocSet As StoreAssociationSet _
) As AssociationSetMapping
Visual C++
public:
AssociationSetMapping^ AddAssociationMapping(
	String^ name, 
	ModelAssociationSet^ modelAssociationSet, 
	StoreEntitySet^ storeJunctionEntitySet, 
	StoreAssociationSet^ fromStoreAssocSet, 
	StoreAssociationSet^ toStoreAssocSet
)

Parameters

name
Type: System..::..String
Name of the association mapping.
modelAssociationSet
Type: HuagatiEDMXTools..::..ModelAssociationSet
Model association set.
storeJunctionEntitySet
Type: HuagatiEDMXTools..::..StoreEntitySet
Store entity set acting as the junction table.
fromStoreAssocSet
Type: HuagatiEDMXTools..::..StoreAssociationSet
First store association set making up the many-to-many mapping in the storage model.
toStoreAssocSet
Type: HuagatiEDMXTools..::..StoreAssociationSet
Second store association set making up the many-to-many mapping in the storage model.

Return Value

An AssociationSetMapping object.

See Also