Click or drag to resize
EntityMapping Methods

The EntityMapping type exposes the following members.

Methods
  NameDescription
Protected methodAdditionalValidations
Validates this instance.
(Overrides GroupableModelElementMappingAdditionalValidations(Action, String).)
Protected methodBindEvents
Binds the events.
(Inherited from GroupableModelElementMapping.)
Protected methodCheckAndCorrectFieldMappings
Checks whether there are any field mappings which are orphaned or any fields which don't have a mapping. An orphaned mapping means a mapping of a mappable field which isn't a mappable field anymore (e.g. it's deleted, has now a value type as its type)). All orphaned mappings are removed. All fields which don't have a mapping will get one.
(Inherited from GroupableModelElementMapping.)
Public methodCheckIfAutoMapToNewFieldsIsNecessary
Checks if an auto map to new target fields action is necessary on this mapping and returns true if it is, false otherwise
(Inherited from GroupableModelElementMapping.)
Protected methodCreateNewFieldMapping
Creates the new field mapping between the field specified and the specified target and adds it to this mapping's list of fieldmappings
(Overrides GroupableModelElementMappingCreateNewFieldMapping(IMappableField, IProjectElementFieldMapTargetElement, Project, TypeConverterDefinition).)
Protected methodDeserializeAdditionalAttributes
Deserializes the additional attributes.
(Overrides GroupableModelElementMappingDeserializeAdditionalAttributes(XmlReader).)
Protected methodDeserializeAdditionalData
Deserializes the additional data a derived class might need. The localReader is positioned on the element which wasn't recognized by the groupablemodelelement class.
(Inherited from GroupableModelElementMapping.)
Public methodDeserializeFromReader
Deserializes the entity mapping data from the reader which is positioned on the EntityMapping element.
(Inherited from GroupableModelElementMapping.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAllFieldMappingsWhichContainASequence
Gets all field mappings which contain A sequence.
Public methodGetAllFieldMapTargetElements
Gets all entity field map target elements (fields) from all targets in this mapping
(Inherited from GroupableModelElementMapping.)
Public methodGetAllIdentifyingFieldMappings
Gets all identifying field mappings which have a mapped target
(Inherited from GroupableModelElementMapping.)
Public methodGetAllMappableFieldsWhichContainASequence
Gets all mappable fields which mappings contain a sequence.
Public methodGetAllMappedFieldsForGivenTargets
Gets all mapped fields for given targets.
(Inherited from GroupableModelElementMapping.)
Public methodGetAllMappedFieldTargets
Gets all mapped field targets, which are the fields in the target which are mapped in field mappings in this mapping
(Inherited from GroupableModelElementMapping.)
Public methodGetAllPotentialSequences
Gets all potential sequences. The schema sequences are sorted on Name if they're in the same schema as the target, otherwise on FullNameWithCatalog, and present after the first entry which is 'null' and the system sequences which are present after that. The schema sequences from the schema of the target are added first, and the ones from other catalogs/schemas are added after that.
Public methodGetAllUnmappedTargetElements
Gets all unmapped target elements, which are all elements in the mapped target which don't have a mapping in a fieldmapping
(Inherited from GroupableModelElementMapping.)
Protected methodGetElementNameForXml
Gets the element name for XML.
(Overrides GroupableModelElementMappingGetElementNameForXml.)
Public methodGetFieldMappingOfField
Gets the first field mapping of field found
(Inherited from GroupableModelElementMapping.)
Protected methodGetFieldStripPatternForMappedElement
Gets the field strip pattern for mapped element as different mapped elements require different strip patterns
(Overrides GroupableModelElementMappingGetFieldStripPatternForMappedElement(ProjectProperties).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetMappedElementAttributeNameForXml
Gets the mapped element attribute name for XML.
(Overrides GroupableModelElementMappingGetMappedElementAttributeNameForXml.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleGroupableModelElementChanged
Handles the groupable model element changed.
(Overrides GroupableModelElementMappingHandleGroupableModelElementChanged(GroupableModelElementChangeType).)
Protected methodMarkGroupableModelElementMappingAsChanged
Marks the groupable model element mapping as changed.
(Inherited from GroupableModelElementMapping.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSerializeAdditionalAttributes
Serializes the additional attributes.
(Overrides GroupableModelElementMappingSerializeAdditionalAttributes(ISerializer).)
Protected methodSerializeAdditionalData
Serializes the additional data a derived class might have.
(Inherited from GroupableModelElementMapping.)
Public methodSerializeToWriter
Serializes the data in this class to the serializer passed in
(Inherited from GroupableModelElementMapping.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodUnbindEvents
Unbinds the events.
(Inherited from GroupableModelElementMapping.)
Public methodValidate
Validates this instance.
(Inherited from GroupableModelElementMapping.)
Public methodValidate(Action, String)
Validates this instance.
(Inherited from GroupableModelElementMapping.)
Top
See Also