The EntitySetMapping type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddComplexMapping |
Adds a complex type mapping
| |
AddEntityTypeMapping |
Adds a new entity type mapping to this entity set mapping. Used for adding inherited sub-types to an entity set mapping
| |
AddMappingCondition |
Adds a mapping condition. Used for entity inheritance (e.g. TPH discriminators) or entity splitting.
| |
AddMemberMapping(ModelMemberProperty, StoreMemberProperty) |
Adds a member mapping from a conceptual model scalar member to a storage model scalar member.
| |
AddMemberMapping(ModelMemberProperty, StoreMemberProperty, ModelEntityType) |
Adds a member mapping from a conceptual model scalar member to a storage model scalar member, with a entity type specified
| |
AutoMapMembers()()()() |
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.
| |
AutoMapMembers(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.
| |
EntityTypeFor |
Returns the entity type mapped to the specified store entity set
| |
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
Remove |
Removes the object from the model.
| |
RemoveMemberMapping(ModelMemberProperty) |
Removes all scalar member mappings for a specific conceptual model member.
| |
RemoveMemberMapping(StoreMemberProperty) |
Removes all scalar member mappings for a specific storage model member.
| |
StoreEntitySetsFor |
Returns all store entitysets mapped to the specified conceptual model entity type
| |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
EntityTypes |
All model entity types that take part in this EntitySetMapping
| |
MappingConditions |
Enumeration of all mapping conditions that exist within this EntitySetMapping
| |
MemberMappings |
Member mappings between the conceptual model and storage model
| |
ModelEntitySet |
Conceptual model entity set mapped with this EntitySetMapping
| |
StoreEntitySets |
Store entity sets mapped in this EntitySetMapping
|
Events
Name | Description | |
---|---|---|
OnColumnMapping |
Event fired for each suggested mapping between a conceptual model scalar member and storage model scalar member, when using automapping. See the AutoMapMembers method.
| |
Removed |
Event fired when the object has been removed from the model
|