/// <summary>
 /// Create a new ComissionSetting object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="maxLevel">Initial value of the MaxLevel property.</param>
 /// <param name="maxNode">Initial value of the MaxNode property.</param>
 /// <param name="comissionPercentage">Initial value of the ComissionPercentage property.</param>
 public static ComissionSetting CreateComissionSetting(global::System.Int32 id, global::System.Int32 maxLevel, global::System.Int32 maxNode, global::System.Decimal comissionPercentage)
 {
     ComissionSetting comissionSetting = new ComissionSetting();
     comissionSetting.ID = id;
     comissionSetting.MaxLevel = maxLevel;
     comissionSetting.MaxNode = maxNode;
     comissionSetting.ComissionPercentage = comissionPercentage;
     return comissionSetting;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ComissionSettings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToComissionSettings(ComissionSetting comissionSetting)
 {
     base.AddObject("ComissionSettings", comissionSetting);
 }