MapperCore Methods |
The MapperCore type exposes the following members.
Name | Description | |
---|---|---|
AutoMapFieldToNewTargetField |
Creates and maps a new target field for the fieldmapping specified.
| |
AutoMapUnmappedFieldsToExistingFieldsInMapping |
Auto-maps all unmapped fields in the mapping passed in to unmapped, existing fields in the target of the mapping, using code existing in this
class.
| |
AutoMapUnmappedFieldsToNewFieldsInMapping |
Auto-maps all un-mapped field mappings to new fields in the target set in the mapping passed in.
| |
AutoSetSequencesIfNecessary |
Auto sets a sequence if necessary on the pk field, if applicable, and creates a new one if none is available. This method works only on the first PK field
and only performs actions for the setting AutoAssignSequencesToIntegerPks, it ignores other PK fields and non-int fields. To set a sequence on a
fieldmapping regardless of the setting, use SetSequenceIfRequired(FieldMapping, IProjectElementFieldMapTargetElement, EntityMapping, Project).
| |
CreateAndSetNewGroupableModelElementMappingTarget |
Creates a new target from the name fragments specified and sets it as the target of the mapping specified. The target is created in the database
related to the driverid in the specified mapping. It creates a new catalog and schema if required and if possible.
| |
MapReturnElement |
Maps the return element.
| |
SetExistingTargetOnGroupableModelElementMapping(GroupableModelElementMapping, IProjectElementMapTargetElement, Project) |
Sets the passed in target as the new target of the GroupableModelElement mapping. It then will auto-map the entity fields to field elements in the target.
| |
SetExistingTargetOnGroupableModelElementMapping(GroupableModelElementMapping, IProjectElementMapTargetElement, Project, DBDriverBase) |
Sets the passed in target as the new target of the GroupableModelElement mapping. It then will auto-map the GroupableModelElement fields to field elements
in the target. If the target has no fields and the target is a table, the routine will auto-add new fields for every field mapping present in the
mapping passed in, which requires a valid driver instance to be passed in.
| |
SetSequenceIfRequired |
Sets the sequence to use for the fieldMapping specified, if required. It only selects from existing sequences, it won't create a new one if
no matching/fitting sequence is found; in that case the sequence to use for the mapping is left 'null'.
|