/// <summary> /// Create a new CommerceReport object. /// </summary> /// <param name="rowGuid">Initial value of the RowGuid property.</param> /// <param name="siteGuid">Initial value of the SiteGuid property.</param> /// <param name="userGuid">Initial value of the UserGuid property.</param> /// <param name="featureGuid">Initial value of the FeatureGuid property.</param> /// <param name="moduleGuid">Initial value of the ModuleGuid property.</param> /// <param name="orderGuid">Initial value of the OrderGuid property.</param> /// <param name="itemGuid">Initial value of the ItemGuid property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="price">Initial value of the Price property.</param> /// <param name="subTotal">Initial value of the SubTotal property.</param> /// <param name="orderDateUtc">Initial value of the OrderDateUtc property.</param> /// <param name="adminOrderLink">Initial value of the AdminOrderLink property.</param> /// <param name="userOrderLink">Initial value of the UserOrderLink property.</param> /// <param name="rowCreatedUtc">Initial value of the RowCreatedUtc property.</param> public static CommerceReport CreateCommerceReport(global::System.Guid rowGuid, global::System.Guid siteGuid, global::System.Guid userGuid, global::System.Guid featureGuid, global::System.Guid moduleGuid, global::System.Guid orderGuid, global::System.Guid itemGuid, global::System.Int32 quantity, global::System.Decimal price, global::System.Decimal subTotal, global::System.DateTime orderDateUtc, global::System.String adminOrderLink, global::System.String userOrderLink, global::System.DateTime rowCreatedUtc) { CommerceReport commerceReport = new CommerceReport(); commerceReport.RowGuid = rowGuid; commerceReport.SiteGuid = siteGuid; commerceReport.UserGuid = userGuid; commerceReport.FeatureGuid = featureGuid; commerceReport.ModuleGuid = moduleGuid; commerceReport.OrderGuid = orderGuid; commerceReport.ItemGuid = itemGuid; commerceReport.Quantity = quantity; commerceReport.Price = price; commerceReport.SubTotal = subTotal; commerceReport.OrderDateUtc = orderDateUtc; commerceReport.AdminOrderLink = adminOrderLink; commerceReport.UserOrderLink = userOrderLink; commerceReport.RowCreatedUtc = rowCreatedUtc; return commerceReport; }
/// <summary> /// Deprecated Method for adding a new object to the CommerceReports EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCommerceReports(CommerceReport commerceReport) { base.AddObject("CommerceReports", commerceReport); }