Пример #1
0
 /// <summary>
 /// Create a new AffiliatesHistory object.
 /// </summary>
 /// <param name="ah_id">Initial value of the ah_id property.</param>
 /// <param name="a_id">Initial value of the a_id property.</param>
 /// <param name="ah_amount">Initial value of the ah_amount property.</param>
 /// <param name="ah_date_paid">Initial value of the ah_date_paid property.</param>
 public static AffiliatesHistory CreateAffiliatesHistory(global::System.Int32 ah_id, global::System.Int32 a_id, global::System.Decimal ah_amount, global::System.DateTime ah_date_paid)
 {
     AffiliatesHistory affiliatesHistory = new AffiliatesHistory();
     affiliatesHistory.ah_id = ah_id;
     affiliatesHistory.a_id = a_id;
     affiliatesHistory.ah_amount = ah_amount;
     affiliatesHistory.ah_date_paid = ah_date_paid;
     return affiliatesHistory;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AffiliatesHistory EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAffiliatesHistory(AffiliatesHistory affiliatesHistory)
 {
     base.AddObject("AffiliatesHistory", affiliatesHistory);
 }