/// <summary> /// Deprecated Method for adding a new object to the CreditsPackages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCreditsPackages(CreditsPackages creditsPackages) { base.AddObject("CreditsPackages", creditsPackages); }
/// <summary> /// Create a new CreditsPackages object. /// </summary> /// <param name="cp_id">Initial value of the cp_id property.</param> /// <param name="cp_name">Initial value of the cp_name property.</param> /// <param name="cp_quantity">Initial value of the cp_quantity property.</param> /// <param name="cp_price">Initial value of the cp_price property.</param> public static CreditsPackages CreateCreditsPackages(global::System.Int32 cp_id, global::System.String cp_name, global::System.Int32 cp_quantity, global::System.Decimal cp_price) { CreditsPackages creditsPackages = new CreditsPackages(); creditsPackages.cp_id = cp_id; creditsPackages.cp_name = cp_name; creditsPackages.cp_quantity = cp_quantity; creditsPackages.cp_price = cp_price; return creditsPackages; }