/// <summary> /// Create a new CommissionValueType object. /// </summary> /// <param name="commissionValueTypeID">Initial value of the CommissionValueTypeID property.</param> /// <param name="type">Initial value of the Type property.</param> public static CommissionValueType CreateCommissionValueType(global::System.Byte commissionValueTypeID, global::System.String type) { CommissionValueType commissionValueType = new CommissionValueType(); commissionValueType.CommissionValueTypeID = commissionValueTypeID; commissionValueType.Type = type; return commissionValueType; }
/// <summary> /// Deprecated Method for adding a new object to the CommissionValueTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCommissionValueTypes(CommissionValueType commissionValueType) { base.AddObject("CommissionValueTypes", commissionValueType); }