/// <summary> /// Deprecated Method for adding a new object to the LicensePurchaseds EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLicensePurchaseds(LicensePurchased licensePurchased) { base.AddObject("LicensePurchaseds", licensePurchased); }
/// <summary> /// Create a new LicensePurchased object. /// </summary> /// <param name="licensePurchasedID">Initial value of the LicensePurchasedID property.</param> /// <param name="customerID">Initial value of the CustomerID property.</param> /// <param name="transactionID">Initial value of the TransactionID property.</param> /// <param name="packageID">Initial value of the PackageID property.</param> /// <param name="transactionDate">Initial value of the TransactionDate property.</param> /// <param name="transactionAmount">Initial value of the TransactionAmount property.</param> /// <param name="netAmount">Initial value of the NetAmount property.</param> /// <param name="transactionCurrency">Initial value of the TransactionCurrency property.</param> /// <param name="licenseDuration">Initial value of the LicenseDuration property.</param> /// <param name="durationUnit">Initial value of the DurationUnit property.</param> /// <param name="licenseStartDate">Initial value of the LicenseStartDate property.</param> /// <param name="licenseEndDate">Initial value of the LicenseEndDate property.</param> /// <param name="comments">Initial value of the Comments property.</param> /// <param name="newSubscription">Initial value of the NewSubscription property.</param> /// <param name="iPAddress">Initial value of the IPAddress property.</param> /// <param name="reversed">Initial value of the Reversed property.</param> /// <param name="paymentType">Initial value of the PaymentType property.</param> /// <param name="packageDetailID">Initial value of the PackageDetailID property.</param> /// <param name="itemID">Initial value of the ItemID property.</param> public static LicensePurchased CreateLicensePurchased(global::System.Guid licensePurchasedID, global::System.Int32 customerID, global::System.String transactionID, global::System.Int32 packageID, global::System.DateTime transactionDate, global::System.Decimal transactionAmount, global::System.Decimal netAmount, global::System.String transactionCurrency, global::System.Int32 licenseDuration, global::System.String durationUnit, global::System.DateTime licenseStartDate, global::System.DateTime licenseEndDate, global::System.String comments, global::System.Boolean newSubscription, global::System.String iPAddress, global::System.Boolean reversed, global::System.Int32 paymentType, global::System.Int32 packageDetailID, global::System.Guid itemID) { LicensePurchased licensePurchased = new LicensePurchased(); licensePurchased.LicensePurchasedID = licensePurchasedID; licensePurchased.CustomerID = customerID; licensePurchased.TransactionID = transactionID; licensePurchased.PackageID = packageID; licensePurchased.TransactionDate = transactionDate; licensePurchased.TransactionAmount = transactionAmount; licensePurchased.NetAmount = netAmount; licensePurchased.TransactionCurrency = transactionCurrency; licensePurchased.LicenseDuration = licenseDuration; licensePurchased.DurationUnit = durationUnit; licensePurchased.LicenseStartDate = licenseStartDate; licensePurchased.LicenseEndDate = licenseEndDate; licensePurchased.Comments = comments; licensePurchased.NewSubscription = newSubscription; licensePurchased.IPAddress = iPAddress; licensePurchased.Reversed = reversed; licensePurchased.PaymentType = paymentType; licensePurchased.PackageDetailID = packageDetailID; licensePurchased.ItemID = itemID; return licensePurchased; }