Syntax Element: in context

Description

Switches the context of contained construction steps to be the specified design element.

Example

This keyword is highlighted like this.
You can click on keywords and concepts in blue.
handdatabase SomeDB
{
  stereotypes X, Y, Z;
  version 1.0 : initialized
  {
    design
    {
      protected X something
      {
        public Y somethingElse;
        public Y somethingDifferent;
      
      protected Z with
        protected a = 1,
        protected b = "two";
      }
    }
  
    construction
    {
      in context X.Z
      {
        step sql
        {
          INSERT INTO $[X]($[X.somethingElse], $[X.somethingDifferent])
            VALUES($[a], $[b]);
        }
      }
    }
  }
}

Related Use Cases

Other Actions

documentation | all examples for this syntax element | all examples | use cases | concepts | keywords