The EntitySetMapping type exposes the following members.

Methods

  NameDescription
Public methodAddComplexMapping
Adds a complex type mapping
Public methodAddEntityTypeMapping
Adds a new entity type mapping to this entity set mapping. Used for adding inherited sub-types to an entity set mapping
Public methodAddMappingCondition
Adds a mapping condition. Used for entity inheritance (e.g. TPH discriminators) or entity splitting.
Public methodAddMemberMapping(ModelMemberProperty, StoreMemberProperty)
Adds a member mapping from a conceptual model scalar member to a storage model scalar member.
Public methodAddMemberMapping(ModelMemberProperty, StoreMemberProperty, ModelEntityType)
Adds a member mapping from a conceptual model scalar member to a storage model scalar member, with a entity type specified
Public methodAutoMapMembers()()()()
Initiates auto-mapping of entity set members. The OnColumnMapping event will be fired for every suggested mapping between a conceptual model member property and a storage model member property.
Public methodAutoMapMembers(ModelEntityType)
Initiates auto-mapping of entity set members. The OnColumnMapping event will be fired for every suggested mapping between a conceptual model member property and a storage model member property.
Public methodEntityTypeFor
Returns the entity type mapped to the specified store entity set
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the object from the model.
Public methodRemoveMemberMapping(ModelMemberProperty)
Removes all scalar member mappings for a specific conceptual model member.
Public methodRemoveMemberMapping(StoreMemberProperty)
Removes all scalar member mappings for a specific storage model member.
Public methodStoreEntitySetsFor
Returns all store entitysets mapped to the specified conceptual model entity type
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyEntityTypes
All model entity types that take part in this EntitySetMapping
Public propertyMappingConditions
Enumeration of all mapping conditions that exist within this EntitySetMapping
Public propertyMemberMappings
Member mappings between the conceptual model and storage model
Public propertyModelEntitySet
Conceptual model entity set mapped with this EntitySetMapping
Public propertyStoreEntitySets
Store entity sets mapped in this EntitySetMapping

Events

  NameDescription
Public eventOnColumnMapping
Event fired for each suggested mapping between a conceptual model scalar member and storage model scalar member, when using automapping. See the AutoMapMembers method.
Public eventRemoved
Event fired when the object has been removed from the model

See Also