/// <summary>
 /// Deprecated Method for adding a new object to the DiscountLogs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDiscountLogs(DiscountLog discountLog)
 {
     base.AddObject("DiscountLogs", discountLog);
 }
 /// <summary>
 /// Create a new DiscountLog object.
 /// </summary>
 /// <param name="itemGuid">Initial value of the ItemGuid property.</param>
 /// <param name="orderGuid">Initial value of the OrderGuid property.</param>
 /// <param name="siteGuid">Initial value of the SiteGuid property.</param>
 /// <param name="moduleGuid">Initial value of the ModuleGuid property.</param>
 /// <param name="storeGuid">Initial value of the StoreGuid property.</param>
 /// <param name="discountGuid">Initial value of the DiscountGuid property.</param>
 /// <param name="useCount">Initial value of the UseCount property.</param>
 /// <param name="transactionUtc">Initial value of the TransactionUtc property.</param>
 public static DiscountLog CreateDiscountLog(global::System.Guid itemGuid, global::System.Guid orderGuid, global::System.Guid siteGuid, global::System.Guid moduleGuid, global::System.Guid storeGuid, global::System.Guid discountGuid, global::System.Int32 useCount, global::System.DateTime transactionUtc)
 {
     DiscountLog discountLog = new DiscountLog();
     discountLog.ItemGuid = itemGuid;
     discountLog.OrderGuid = orderGuid;
     discountLog.SiteGuid = siteGuid;
     discountLog.ModuleGuid = moduleGuid;
     discountLog.StoreGuid = storeGuid;
     discountLog.DiscountGuid = discountGuid;
     discountLog.UseCount = useCount;
     discountLog.TransactionUtc = transactionUtc;
     return discountLog;
 }