in

The ORM Foundation

Get the facts!

Question about join constraints and paths

Last post Sat, Oct 27 2018 19:42 by nicola. 44 replies.
Page 2 of 3 (45 items) < Previous 1 2 3 Next >
Sort Posts: Previous Next
  • Tue, Oct 16 2018 11:07 In reply to

    • Ken Evans
    • Top 10 Contributor
      Male
    • Joined on Sun, Nov 18 2007
    • Stickford, UK
    • Posts 789

    Re: Question about join constraints and paths

    That's good news.  

    Remember to use setup with "Run as Admin"   

    Let me know how you get on with the installation.

    Ken  

  • Tue, Oct 16 2018 11:19 In reply to

    • Ken Evans
    • Top 10 Contributor
      Male
    • Joined on Sun, Nov 18 2007
    • Stickford, UK
    • Posts 789

    Re: Question about join constraints and paths

    These short videos will give youa quick introduction to how to use ORM. & NORMA

     

    Entering Fact Types: 

    https://vimeo.com/249718625/7f9fe71ce7

     

     

    Extend the Student Model

    https://vimeo.com/249735346/4ad92e822e

     

    Ken 

     

  • Tue, Oct 23 2018 14:32 In reply to

    • nicola
    • Top 25 Contributor
    • Joined on Thu, Oct 11 2018
    • Posts 30

    Re: Question about join constraints and paths

     Sorry for the delayed feedback.

    I have installed the test release of NORMA for VS 2017 (as an admin). When I create a new model (File > New > File… > Object-Role Modeling File), a new text document titled ORMModel1.orm is created containing some XML. I don't think that is expected. Also, when I go to Tools > Options > ORM Designer > General, I get this error: “An error occurred loading this property page”.

    Using VS Community 2017 v15.8.7 with .NET Framework v4.7.03056. 

  • Tue, Oct 23 2018 15:18 In reply to

    • Ken Evans
    • Top 10 Contributor
      Male
    • Joined on Sun, Nov 18 2007
    • Stickford, UK
    • Posts 789

    Re: Question about join constraints and paths

    NORMA stores ORM files in XML format, so what's happening is that "for some reason" your NORMA installation is not processing the XML file correctly.

    Please let me know what happens if you try to open an existing ORM file such as the "talent agency" file that you can download from here

    http://www.ormfoundation.org/files/folders/norma_-_open_source_models/entry1908.aspx

     Ken

     

  • Tue, Oct 23 2018 15:44 In reply to

    • nicola
    • Top 25 Contributor
    • Joined on Thu, Oct 11 2018
    • Posts 30

    Re: Question about join constraints and paths

     It's also opened as a text document.

    Is it possible to uninstall or force reinstall NORMA? If I run Setup.bat again, it tells me that NORMA is already installed and does not proceed. 

  • Tue, Oct 23 2018 16:07 In reply to

    • Ken Evans
    • Top 10 Contributor
      Male
    • Joined on Sun, Nov 18 2007
    • Stickford, UK
    • Posts 789

    Re: Question about join constraints and paths

    You can uninstall NORMA from within Windows.
    You also have to uninstall PLiX. 

    On my Win 10 Pro installation, I type "uninstall" in the search box at the bottom left of the main windows page. 

    This gives a link to "Add or remove programs" in System Settings.

    You can also go directly to "Settings" and then choose Apps & Features.

    In "Apps & Features" you will see a list that includes NORMA and PliX. (see below)

    If you click on each item, you will be presented with two buttons "Modify" and "Uninstall".

    Ken

     

     



  • Tue, Oct 23 2018 20:11 In reply to

    • nicola
    • Top 25 Contributor
    • Joined on Thu, Oct 11 2018
    • Posts 30

    Re: Question about join constraints and paths

    I have reinstalled NORMA. Now, when I try to open the Talent file, I get the following error:

    The 'ORM Solutions Natural Object-Role Modeling Architect Package' package did not load correctly.

    The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file C:\Users\me\AppData\Roaming\Microsoft\VisualStudio\15.0_aeebc603\ActivityLog.xml'.

    Restarting Visual Studio could help resolve the issue.

    Continue to show this error message? 

    When I press Yes, after a few second the dialog reappears and VS hangs (I cannot dismiss the dialog any more: Windows shows “Microsoft Visual Studio is Busy”). And ActivityLog.xml does not seem to exist.

  • Tue, Oct 23 2018 20:43 In reply to

    • nicola
    • Top 25 Contributor
    • Joined on Thu, Oct 11 2018
    • Posts 30

    Re: Question about join constraints and paths

     I attach the error message from ActivityLog.xml.

     


  • Tue, Oct 23 2018 21:09 In reply to

    • Ken Evans
    • Top 10 Contributor
      Male
    • Joined on Sun, Nov 18 2007
    • Stickford, UK
    • Posts 789

    Re: Question about join constraints and paths

    Are you running this on a Mac or on a Windows PC?

    Please check that you have installed the following Visual Studio workloads.

     .NET desktop development
    ASP.NET and web development
    Visual Studio extension development.

     


  • Wed, Oct 24 2018 8:48 In reply to

    • nicola
    • Top 25 Contributor
    • Joined on Thu, Oct 11 2018
    • Posts 30

    Re: Question about join constraints and paths

    Thanks! That got me up and running.

    I am working on Windows: unless I am missing something, NORMA is not cross-compatible with Visual Studio for Mac. 

  • Wed, Oct 24 2018 9:32 In reply to

    • Ken Evans
    • Top 10 Contributor
      Male
    • Joined on Sun, Nov 18 2007
    • Stickford, UK
    • Posts 789

    Re: Question about join constraints and paths

    My Mac/Windows question was related to our earlier discussion about the two ways of running Windows on a Mac.
    I don't know if NORMA will run on Visual Studio for Mac because I don't have a Mac to test it.

    Anyway, well done for getting NORMA running.

    Ken 


  • Thu, Oct 25 2018 11:38 In reply to

    • nicola
    • Top 25 Contributor
    • Joined on Thu, Oct 11 2018
    • Posts 30

    Re: Question about join constraints and paths

    So, I have built the model in NORMA (you find it attached to this message). My original question still stands: is it possible (and if so, how) to express the following constraint: if a Chapter is discussed in some Exam of some Session of some Course then that Course teaches that Chapter?
  • Thu, Oct 25 2018 11:46 In reply to

    • nicola
    • Top 25 Contributor
    • Joined on Thu, Oct 11 2018
    • Posts 30

    Re: Question about join constraints and paths

    Said otherwise, does NORMA have support for resolving join path ambiguities as described in Information Modeling and Relational Databases, sec. 10.1?

  • Thu, Oct 25 2018 12:09 In reply to

    • Ken Evans
    • Top 10 Contributor
      Male
    • Joined on Sun, Nov 18 2007
    • Stickford, UK
    • Posts 789

    Re: Question about join constraints and paths

    The simple answer is "partially".

    Since it is Terry's book, I have asked him to give a response.

    In the meantime, if you put "join path" in the search box at the top right and select "entire site" , you will see that join paths have been "in discussion" for about ten years.

     Ken

  • Thu, Oct 25 2018 12:39 In reply to

    • Ken Evans
    • Top 10 Contributor
      Male
    • Joined on Sun, Nov 18 2007
    • Stickford, UK
    • Posts 789

    Re: Question about join constraints and paths

     Nicola,

    I see that your model is named "Koehler2007s.orm"

    If this is a reference to a publication, please let me have the reference so that I can follow up.

    Thanks

    Ken

     

Page 2 of 3 (45 items) < Previous 1 2 3 Next >
© 2008-2019 The ORM Foundation: A UK not-for-profit organisation -------------- Terms of Service