AssociationSetMapping Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Entity Framework