Skip to main content

MGCLatticeDmfMappingService

Checks and refreshes the field mappings of data projects.

Methods​

construct​

Creates a new instance of the MGCLatticeDmfMappingService class.

  • Visibility: public
  • Returns: MGCLatticeDmfMappingService A new instance.

No parameters.

validateMappings​

Checks the field mappings of the data projects a request names.

  • Visibility: public
  • Returns: MGCLatticeDmfMappingValidationResultContract The findings per project, entity and field. Success is true when no finding is an error; a refused request has Success false and the reason in Message.
NameTypeOptionalDescription
_requestMGCLatticeDmfMappingValidateRequestContractNoA data project like pattern and/or a recurring data job name.

refreshMappings​

Refreshes the field mappings of a data project's entities, keeping what was customized.

  • Visibility: public
  • Returns: MGCLatticeDmfMappingRefreshResultContract Every mapping row added or removed and every staging-to-target mapping regenerated (or, with ValidateOnly, that would be). Success is false when the request was refused or a change failed.
NameTypeOptionalDescription
_requestMGCLatticeDmfMappingRefreshRequestContractNoThe data project, optionally one entity, RegenerateTargetMapping and ValidateOnly.