AssociationSetMapping Class

Definition

Represents the Mapping metadata for an AssociationSet in CS space.

public class AssociationSetMapping : System.Data.Entity.Core.Mapping.EntitySetBaseMapping
type AssociationSetMapping = class
    inherit EntitySetBaseMapping
Public Class AssociationSetMapping
Inherits EntitySetBaseMapping
Inheritance
AssociationSetMapping

Examples

For Example if conceptually you could represent the CS MSL file as following --Mapping --EntityContainerMapping ( CNorthwind-->SNorthwind ) --EntitySetMapping --EntityTypeMapping --MappingFragment --EntityTypeMapping --MappingFragment --AssociationSetMapping --AssociationTypeMapping --MappingFragment This class represents the metadata for the AssociationSetMapping elements in the above example. And it is possible to access the AssociationTypeMap underneath it. There will be only one TypeMap under AssociationSetMap.

Constructors

AssociationSetMapping(AssociationSet, EntitySet, EntityContainerMapping)

Initializes a new AssociationSetMapping instance.

Properties

AssociationSet

Gets the association set that is mapped.

AssociationTypeMapping

Gets the contained association type mapping.

Conditions

Gets the property mapping conditions.

ContainerMapping

Gets the parent container mapping.

(Inherited from EntitySetBaseMapping)
ModificationFunctionMapping

Gets or sets the corresponding function mapping. Can be null.

QueryView

Gets or sets the query view associated with this mapping.

(Inherited from EntitySetBaseMapping)
SourceEndMapping

Gets or sets the source end property mapping.

StoreEntitySet

Gets the store entity set that is mapped.

TargetEndMapping

Gets or sets the target end property mapping.

Methods

AddCondition(ConditionPropertyMapping)

Adds a property mapping condition.

RemoveCondition(ConditionPropertyMapping)

Removes a property mapping condition.

Applies to