Hans Karlsen (talk | contribs) No edit summary |
Hans Karlsen (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
==== Introduction to Examples and merge ==== | |||
Examples that you can merge into your empty or not complete model in order to get some functionality | Examples that you can merge into your empty or not complete model in order to get some functionality | ||
[[File:2020-05-30 19h00 48.png|none|thumb]] | [[File:2020-05-30 19h00 48.png|none|thumb]] | ||
Line 4: | Line 5: | ||
[[File:2020-05-30 19h02 13.png|none|thumb]] | [[File:2020-05-30 19h02 13.png|none|thumb]] | ||
==== What happens when you merge another modlr file? ==== | ===== What happens when you merge another modlr file? ===== | ||
# If the merged file use some class name that you already use - the content of the classes is copied from the merged file to the class you already had - the incoming class is discarded to avoid doublet | # If the merged file use some class name that you already use - the content of the classes is copied from the merged file to the class you already had - the incoming class is discarded to avoid doublet | ||
# If the merged file use the same package name as you already have in your model - the content from the merged file is moved into your package | # If the merged file use the same package name as you already have in your model - the content from the merged file is moved into your package |
Revision as of 10:03, 31 May 2020
Introduction to Examples and merge
Examples that you can merge into your empty or not complete model in order to get some functionality
or/and :
What happens when you merge another modlr file?
- If the merged file use some class name that you already use - the content of the classes is copied from the merged file to the class you already had - the incoming class is discarded to avoid doublet
- If the merged file use the same package name as you already have in your model - the content from the merged file is moved into your package
- If you the merged file use some viewmodel-names you already have - they are skipped - if new viewmodels are found they are added
- If you have the same diagram name - the diagrams are merged to avoid doublets.
- If the merged had some AssetsTK - it is merged to your AssetsTK increasing it or updating it
SysUserAuthentication
This example adds the SysSingleton and SysUser classes needed to enable login and authentication in Turnkey systems
Download SysUserAuthentication - once downloaded do "open merge add" from the model you want to extend.
Consume and Purchase
This example model extends your system with an ability to charge the end-user for services you provide. The user will be treated as a SysConsumer in portal - and you can charge the SysConsumer with a Credit card and you can let the SysConsumer consume your services with a simple call in your local model.Download ChargeEndUserViaMDrivenPortalService.modlr sample:
Special:Redirect/file/Företag.modlr
This is how the link should be formed: https://www.mediawiki.org/wiki/Help:Linking_to_files