Ejemplo n.º 1
0
 /// <summary>
 /// Adds a new business process to the model
 /// </summary>
 /// <param name="b">The b.</param>
 public void AddBusinessProcess(BusinessProcess b)
 {
     if (BusinessProcess == null)
     {
         BusinessProcess = new List <BusinessProcess>();
     }
     businessProcessField.Add(b);
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Converts the level to a shared node by uid.
        /// </summary>
        /// <param name="uid">The uid.</param>
        /// <param name="dimensionName">Name of the dimension.</param>
        /// <param name="businessProcessName">Name of the business process.</param>
        /// <param name="type">The type of reference.</param>
        public void ConvertLevelByUID(string uid, string dimensionName, string businessProcessName, ReferenceType type)
        {
            BusinessProcess b = this.GetBusinessProcess(businessProcessName);

            b.ConvertLevelByUID(uid, dimensionName, type);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Removes the dimension.
        /// </summary>
        /// <param name="dimensionName">Name of the dimension.</param>
        /// <param name="businessProcessName">Name of the business process.</param>
        public void RemoveDimension(string dimensionName, string businessProcessName)
        {
            BusinessProcess b = this.GetBusinessProcess(businessProcessName);

            b.RemoveDimension(dimensionName);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Removes the level by uid.
        /// </summary>
        /// <param name="uid">The uid.</param>
        /// <param name="dimensionName">Name of the dimension.</param>
        /// <param name="businessProcessName">Name of the business process.</param>
        public void RemoveLevelByUID(string uid, string dimensionName, string businessProcessName)
        {
            BusinessProcess b = this.GetBusinessProcess(businessProcessName);

            b.RemoveLevelByUID(uid, dimensionName);
        }
Ejemplo n.º 5
0
        /// <summary>
        /// Removes the measure.
        /// </summary>
        /// <param name="measureName">Name of the measure.</param>
        /// <param name="businessProcessName">Name of the business process.</param>
        public void RemoveMeasure(string measureName, string businessProcessName)
        {
            BusinessProcess b = this.GetBusinessProcess(businessProcessName);

            b.RemoveMeasure(measureName);
        }