/// <summary>
 /// Create a new CommissionType object.
 /// </summary>
 /// <param name="commissionTypeID">Initial value of the CommissionTypeID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="value">Initial value of the Value property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="createdOn">Initial value of the CreatedOn property.</param>
 /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param>
 /// <param name="modifiedOn">Initial value of the ModifiedOn property.</param>
 /// <param name="stamp">Initial value of the Stamp property.</param>
 /// <param name="active">Initial value of the Active property.</param>
 public static CommissionType CreateCommissionType(global::System.Int32 commissionTypeID, global::System.String name, global::System.String value, global::System.Int32 createdBy, global::System.DateTime createdOn, global::System.Int32 modifiedBy, global::System.DateTime modifiedOn, global::System.Byte[] stamp, global::System.Boolean active)
 {
     CommissionType commissionType = new CommissionType();
     commissionType.CommissionTypeID = commissionTypeID;
     commissionType.Name = name;
     commissionType.Value = value;
     commissionType.CreatedBy = createdBy;
     commissionType.CreatedOn = createdOn;
     commissionType.ModifiedBy = modifiedBy;
     commissionType.ModifiedOn = modifiedOn;
     commissionType.Stamp = stamp;
     commissionType.Active = active;
     return commissionType;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the CommissionTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCommissionTypes(CommissionType commissionType)
 {
     base.AddObject("CommissionTypes", commissionType);
 }
        public static CommissionType NewCommissionType()
        {
            CommissionType newObject = new CommissionType();

            BsoArchiveEntities.Current.AddToCommissionTypes(newObject);
            BsoArchiveEntities.SetDefaultValue(newObject);
            return newObject;
        }