EntityMapping Class |
Namespace: SD.LLBLGen.Pro.ApplicationCore.Mapping
The EntityMapping type exposes the following members.
Name | Description | |
---|---|---|
EntityMapping |
Initializes a new instance of the EntityMapping class.
|
Name | Description | |
---|---|---|
ActionCombination |
Gets or sets the action combination for the entity mapped onto this target
(Inherited from GroupableModelElementMapping.) | |
DriverID |
Gets the driver ID of the database the mapping is for.
(Inherited from GroupableModelElementMapping.) | |
Error |
Gets an error message indicating what is wrong with this object. The default is an empty string ("")
(Inherited from GroupableModelElementMapping.) | |
FieldMappings |
Gets the entity field mappings.
(Inherited from GroupableModelElementMapping.) | |
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.
(Inherited from GroupableModelElementMapping.) | |
IsValid |
Gets a value indicating whether this instance is valid.
(Inherited from GroupableModelElementMapping.) | |
Item |
Gets the String with the specified column name.
(Inherited from GroupableModelElementMapping.) | |
LoggedErrors |
Gets the logged errors.
(Inherited from GroupableModelElementMapping.) | |
MappedElement |
Gets the groupable model element mapped by this mapping.
(Inherited from GroupableModelElementMapping.) | |
MappedEntity |
Gets the mapped entity.
| |
MappedTarget |
Gets /sets the mapped targets.
(Inherited from GroupableModelElementMapping.) | |
TypeOfMapping |
Gets the type of mapping.
(Inherited from GroupableModelElementMapping.) | |
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.
(Overrides GroupableModelElementMappingUsableTargetTypes.) |
Name | Description | |
---|---|---|
AdditionalValidations |
Validates this instance.
(Overrides GroupableModelElementMappingAdditionalValidations(Action, String).) | |
BindEvents |
Binds the events.
(Inherited from GroupableModelElementMapping.) | |
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.
(Inherited from GroupableModelElementMapping.) | |
CheckIfAutoMapToNewFieldsIsNecessary |
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.) | |
CreateNewFieldMapping |
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).) | |
DeserializeAdditionalAttributes |
Deserializes the additional attributes.
(Overrides GroupableModelElementMappingDeserializeAdditionalAttributes(XmlReader).) | |
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.
(Inherited from GroupableModelElementMapping.) | |
DeserializeFromReader |
Deserializes the entity mapping data from the reader which is positioned on the EntityMapping element.
(Inherited from GroupableModelElementMapping.) | |
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.) | |
GetAllFieldMappingsWhichContainASequence |
Gets all field mappings which contain A sequence.
| |
GetAllFieldMapTargetElements |
Gets all entity field map target elements (fields) from all targets in this mapping
(Inherited from GroupableModelElementMapping.) | |
GetAllIdentifyingFieldMappings |
Gets all identifying field mappings which have a mapped target
(Inherited from GroupableModelElementMapping.) | |
GetAllMappableFieldsWhichContainASequence |
Gets all mappable fields which mappings contain a sequence.
| |
GetAllMappedFieldsForGivenTargets |
Gets all mapped fields for given targets.
(Inherited from GroupableModelElementMapping.) | |
GetAllMappedFieldTargets |
Gets all mapped field targets, which are the fields in the target which are mapped in field mappings in this mapping
(Inherited from GroupableModelElementMapping.) | |
GetAllPotentialSequences |
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.
| |
GetAllUnmappedTargetElements |
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.) | |
GetElementNameForXml |
Gets the element name for XML.
(Overrides GroupableModelElementMappingGetElementNameForXml.) | |
GetFieldMappingOfField |
Gets the first field mapping of field found
(Inherited from GroupableModelElementMapping.) | |
GetFieldStripPatternForMappedElement |
Gets the field strip pattern for mapped element as different mapped elements require different strip patterns
(Overrides GroupableModelElementMappingGetFieldStripPatternForMappedElement(ProjectProperties).) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetMappedElementAttributeNameForXml |
Gets the mapped element attribute name for XML.
(Overrides GroupableModelElementMappingGetMappedElementAttributeNameForXml.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HandleGroupableModelElementChanged |
Handles the groupable model element changed.
(Overrides GroupableModelElementMappingHandleGroupableModelElementChanged(GroupableModelElementChangeType).) | |
MarkGroupableModelElementMappingAsChanged |
Marks the groupable model element mapping as changed.
(Inherited from GroupableModelElementMapping.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SerializeAdditionalAttributes |
Serializes the additional attributes.
(Overrides GroupableModelElementMappingSerializeAdditionalAttributes(ISerializer).) | |
SerializeAdditionalData |
Serializes the additional data a derived class might have.
(Inherited from GroupableModelElementMapping.) | |
SerializeToWriter |
Serializes the data in this class to the serializer passed in
(Inherited from GroupableModelElementMapping.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnbindEvents |
Unbinds the events.
(Inherited from GroupableModelElementMapping.) | |
Validate |
Validates this instance.
(Inherited from GroupableModelElementMapping.) | |
Validate(Action, String) |
Validates this instance.
(Inherited from GroupableModelElementMapping.) |
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.
(Inherited from GroupableModelElementMapping.) | |
HasBeenRemoved |
Raised when the implementing element has been removed from its container
(Inherited from GroupableModelElementMapping.) |