in

The ORM Foundation

Get the facts!

Specifying a Join Path for an External Uniqueness Constraint

Last post Sat, Oct 5 2013 1:21 by Matthew Curland. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • Wed, Oct 2 2013 17:33

    Specifying a Join Path for an External Uniqueness Constraint

    Hello,

    Is it possible in the latest version of NORMA for VS 2008 to specify a join path for an external uniqueness constraint? The below model produces the following error: "Constraint 'ExternalUniquenessConstraint1' in model 'ORMModel1' requires a join path". I would like to join along the "A rolls up to B" path, but I do not see an obvious way in the NORMA tool to specify the path.

    Thanks, Matt
  • Wed, Oct 2 2013 22:43 In reply to

    Re: Specifying a Join Path for an External Uniqueness Constraint

    Entering join paths requires the "Role Path Editor" which is only in NORMA Pro - not yet publicly available.

  • Sat, Oct 5 2013 1:21 In reply to

    Re: Specifying a Join Path for an External Uniqueness Constraint

    Hi Matt,

    Clifford is correct in saying that this is an advanced feature. Join paths are automatically created for basic patterns, but the patterns for automatic generation are limited, so an editor is required. However, the open source tool will verbalize the join paths without the editor installed. Entering join paths is very similar to entering derivation rules, and is part of the pro toolset.

    In this particular case, you would be able to enter a join path and have it verbalize correctly, but it would not yet map to an implementation.

    There is more discussion about the 'pro' version in http://www.ormfoundation.org/forums/p/1054/3321.aspx#3321, including a request for feedback on how to start making the work-in-progress available to a broader section of the ORM community. Feel free to pipe in on that thread if you want to.

    -Matt

Page 1 of 1 (3 items)
© 2008-2024 ------- Terms of Service