Book a Demo

Author Topic: IsRoot on Element  (Read 3550 times)

albinofrenchy

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
IsRoot on Element
« on: August 20, 2010, 08:21:24 am »
Is there any way to access the "Is Root" property of an element short of direct database access? Read would be good, but write access is preferable.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: IsRoot on Element
« Reply #1 on: August 23, 2010, 03:30:54 pm »
Looks like they simply forgot.
The other advanced properties (isLeaf, isActive, isSpecification) are all available.
I would send in a feature request to get this property exposed.

In the meantime you can use Repository.SQLQuery(sqlString) to get the value, and Repository.Execute(sqlString) to update.

Geert