/// <summary> /// Deprecated Method for adding a new object to the CreditsHistory EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCreditsHistory(CreditsHistory creditsHistory) { base.AddObject("CreditsHistory", creditsHistory); }
/// <summary> /// Create a new CreditsHistory object. /// </summary> /// <param name="ch_id">Initial value of the ch_id property.</param> /// <param name="u_username">Initial value of the u_username property.</param> /// <param name="ch_date">Initial value of the ch_date property.</param> /// <param name="ch_service">Initial value of the ch_service property.</param> /// <param name="ch_amount">Initial value of the ch_amount property.</param> public static CreditsHistory CreateCreditsHistory(global::System.Int32 ch_id, global::System.String u_username, global::System.DateTime ch_date, global::System.Int32 ch_service, global::System.Int32 ch_amount) { CreditsHistory creditsHistory = new CreditsHistory(); creditsHistory.ch_id = ch_id; creditsHistory.u_username = u_username; creditsHistory.ch_date = ch_date; creditsHistory.ch_service = ch_service; creditsHistory.ch_amount = ch_amount; return creditsHistory; }