GroupableModelElementMapping Class |
Namespace: SD.LLBLGen.Pro.ApplicationCore.Mapping
The GroupableModelElementMapping type exposes the following members.
Name | Description | |
---|---|---|
GroupableModelElementMapping(GroupableModelElement, String, MappingType) |
Initializes a new instance of the GroupableModelElementMapping class.
| |
GroupableModelElementMapping(GroupableModelElement, IProjectElementMapTargetElement, String, Boolean, MappingType, ActionCombinationType) |
Initializes a new instance of the GroupableModelElementMapping class.
|
Name | Description | |
---|---|---|
ActionCombination |
Gets or sets the action combination for the entity mapped onto this target
| |
DriverID |
Gets the driver ID of the database the mapping is for.
| |
Error |
Gets an error message indicating what is wrong with this object. The default is an empty string ("")
| |
FieldMappings |
Gets the entity field mappings.
| |
IsAutoCreated |
Gets or sets a value indicating whether this instance is auto created by code or manually by the user. If true,
code controls the existence of this mapping object, e.g. because it's contained inside another mapping (return element mapping of TVF call)
Default is false.
| |
IsValid |
Gets a value indicating whether this instance is valid.
| |
Item |
Gets the String with the specified column name.
| |
LoggedErrors |
Gets the logged errors.
| |
MappedElement |
Gets the groupable model element mapped by this mapping.
| |
MappedTarget |
Gets /sets the mapped targets.
| |
TypeOfMapping |
Gets the type of mapping.
| |
UsableTargetTypes |
Gets the list of usable target types. This list can be used to filter out targets which aren't a valuable target for this mapping.
|
Name | Description | |
---|---|---|
AdditionalValidations |
Performs additional validations
| |
BindEvents |
Binds the events.
| |
CheckAndCorrectFieldMappings |
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.
| |
CheckIfAutoMapToNewFieldsIsNecessary |
Checks if an auto map to new target fields action is necessary on this mapping and returns true if it is, false otherwise
| |
CreateNewFieldMapping |
Creates the new field mapping between the field specified and the specified target and adds it to this mapping's list of fieldmappings
| |
DeserializeAdditionalAttributes |
Deserializes the additional attributes.
| |
DeserializeAdditionalData |
Deserializes the additional data a derived class might need. The localReader is positioned on the element which wasn't recognized by the
groupablemodelelement class.
| |
DeserializeFromReader |
Deserializes the entity mapping data from the reader which is positioned on the EntityMapping element.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAllFieldMapTargetElements |
Gets all entity field map target elements (fields) from all targets in this mapping
| |
GetAllIdentifyingFieldMappings |
Gets all identifying field mappings which have a mapped target
| |
GetAllMappedFieldsForGivenTargets |
Gets all mapped fields for given targets.
| |
GetAllMappedFieldTargets |
Gets all mapped field targets, which are the fields in the target which are mapped in field mappings in this mapping
| |
GetAllUnmappedTargetElements |
Gets all unmapped target elements, which are all elements in the mapped target which don't have a mapping in a fieldmapping
| |
GetElementNameForXml |
Gets the element name for XML.
| |
GetFieldMappingOfField |
Gets the first field mapping of field found
| |
GetFieldStripPatternForMappedElement |
Gets the field strip pattern for mapped element as different mapped elements require different strip patterns
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetMappedElementAttributeNameForXml |
Gets the mapped element attribute name for XML.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HandleGroupableModelElementChanged |
Handles the groupable model element changed.
| |
MarkGroupableModelElementMappingAsChanged |
Marks the groupable model element mapping as changed.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SerializeAdditionalAttributes |
Serializes the additional attributes.
| |
SerializeAdditionalData |
Serializes the additional data a derived class might have.
| |
SerializeToWriter |
Serializes the data in this class to the serializer passed in
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnbindEvents |
Unbinds the events.
| |
Validate |
Validates this instance.
| |
Validate(Action, String) |
Validates this instance.
|
Name | Description | |
---|---|---|
DetailedElementChanged |
Raised when the implementing object's data changed. What has changed is enclosed in the event arguments. Similar event as
INotifyAsChanged.ElementChanged however this variant has detailed information about which change took place.
| |
HasBeenRemoved |
Raised when the implementing element has been removed from its container
|