Click or drag to resize

DatabaseMappingData Class

Container class which stores mappings for a single database.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.MappingDatabaseMappingData

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Mapping
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public class DatabaseMappingData : ISerializableToXml

The DatabaseMappingData type exposes the following members.

Constructors
  NameDescription
Public methodDatabaseMappingData
Initializes a new instance of the DatabaseMappingData class.
Top
Properties
  NameDescription
Public propertyDriverID
Gets the driver ID.
Public propertyEntityMappings
Gets the entity mappings.
Public propertySPCallMappings
Gets the SP call mappings.
Public propertyTvfCallMappings
Gets the TVF call mappings.
Public propertyTypeConversionDefinitions
Gets the type conversion definitions.
Public propertyTypedViewMappings
Gets the typed view mappings.
Top
Methods
  NameDescription
Public methodDeserializeFromReader
Deserializes the data for this DatabaseMappingData instance from the reader, which is positioned at the MappingStore element
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 methodFindEntityMappingByEntity
Finds the entity mapping of the entity specified. An entity can have one entity mapping per target database type.
Public methodFindMappingByElement
Finds the GroupableModelElement mapping of the element specified. An element can bave 1 mapping per target database type.
Public methodFindSPCallMappingBySPCall
Finds the SP call mapping by SP call.
Public methodFindTvfCallMappingByTvfCall
Finds the TVF call mapping by TVF call.
Public methodFindTypedViewMappingByTypedView
Finds the typed view mapping by typed view.
Public methodGetAllGroupableModelElementsMappedOnTarget
Gets all groupable model elements which are mapped onto the target specified.
Public methodGetAllMappedEntitiesPerTarget
Gets all mapped entities per target, stored in a dictionary, with the target as key. If a mapping doesn't have a target set, it's ignored
Public methodGetAllMappedSPCallsPerTarget
Gets all mapped SP calls per target, stored in a dictionary with the target as key
Public methodGetAllMappedTvfCallsPerTarget
Gets all mapped TVF calls per target.
Public methodGetAllMappedTypedViewsPerTarget
Gets all mapped typed views per target, stored in a dictionary, with the target as key.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOrCreateGroupableModelElementMapping
Gets or creates the GroupableModelElement mapping for the element to map specified.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnmappedElementsTElement
Gets the unmapped elements.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveEntityMapping(EntityDefinition)
Removes the entity mapping for the entity specified.
Public methodRemoveEntityMapping(EntityDefinition, Boolean)
Removes the entity mapping for the entity specified.
Public methodRemoveGroupableModelElementMapping(GroupableModelElement)
Removes the groupable model element mapping.
Public methodRemoveGroupableModelElementMapping(GroupableModelElement, Boolean)
Removes the groupable model element mapping.
Public methodRemoveTypedViewMapping(TypedViewDefinition)
Removes the typedview mapping for the typedview specified.
Public methodRemoveTypedViewMapping(TypedViewDefinition, Boolean)
Removes the typedview mapping for the typedview specified.
Public methodSerializeToWriter
Serializes the data in this class to the serializer passed in
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventGroupableModelElementMappingAdded
Raised when a GroupableModelElement mapping was added to the Mappings store in this DatabaseMappingData store
Public eventGroupableModelElementMappingChanged
Raised when a GroupableModelElement mapping was changed in this DatabaseMappingData store
Public eventGroupableModelElementMappingRemoved
Raised when a GroupableModelElement mapping was removed from the Mappings store in this DatabaseMappingData store
Top
See Also