Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblCustomerDiscountItem EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblCustomerDiscountItem(tblCustomerDiscountItem tblCustomerDiscountItem)
 {
     base.AddObject("tblCustomerDiscountItem", tblCustomerDiscountItem);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new tblCustomerDiscountItem object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="customerDiscountId">Initial value of the CustomerDiscountId property.</param>
 /// <param name="discountRate">Initial value of the DiscountRate property.</param>
 /// <param name="effectiveDate">Initial value of the EffectiveDate property.</param>
 /// <param name="iM_DateCreated">Initial value of the IM_DateCreated property.</param>
 /// <param name="iM_DateLastUpdated">Initial value of the IM_DateLastUpdated property.</param>
 /// <param name="iM_Status">Initial value of the IM_Status property.</param>
 public static tblCustomerDiscountItem CreatetblCustomerDiscountItem(global::System.Guid id, global::System.Guid customerDiscountId, global::System.Decimal discountRate, global::System.DateTime effectiveDate, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status)
 {
     tblCustomerDiscountItem tblCustomerDiscountItem = new tblCustomerDiscountItem();
     tblCustomerDiscountItem.id = id;
     tblCustomerDiscountItem.CustomerDiscountId = customerDiscountId;
     tblCustomerDiscountItem.DiscountRate = discountRate;
     tblCustomerDiscountItem.EffectiveDate = effectiveDate;
     tblCustomerDiscountItem.IM_DateCreated = iM_DateCreated;
     tblCustomerDiscountItem.IM_DateLastUpdated = iM_DateLastUpdated;
     tblCustomerDiscountItem.IM_Status = iM_Status;
     return tblCustomerDiscountItem;
 }