private void AddModelNamespace(IWriteSession session, IProjectContext projectContext, INamespace @namespace)
        {
            var rootNamespace = projectContext.Project.RootNamespace;

            rootNamespace.Namespaces.Add(@namespace);

            session.Save(rootNamespace);
            session.SaveHierarchy(@namespace);
        }
 private void SetParameterName(IWriteSession session, IEvent @event, IEventParameter parameter, string name)
 {
     parameter.Name = name;
     session.SaveHierarchy(@event);
 }
 private void SetDpItemValue(IWriteSession session, IDpItem dpItem, ModelValue value)
 {
     dpItem.Value = value;
     session.SaveHierarchy(dpItem);
 }