/// <summary>
 /// Create a new CartContent object.
 /// </summary>
 /// <param name="cartContentsId">Initial value of the CartContentsId property.</param>
 /// <param name="cartId">Initial value of the CartId property.</param>
 /// <param name="productTitleId">Initial value of the ProductTitleId property.</param>
 /// <param name="productSKU">Initial value of the ProductSKU property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
 /// <param name="subTotal">Initial value of the SubTotal property.</param>
 /// <param name="lineNumber">Initial value of the LineNumber property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 public static CartContent CreateCartContent(global::System.Int32 cartContentsId, global::System.Int32 cartId, global::System.Int32 productTitleId, global::System.String productSKU, global::System.Int32 quantity, global::System.Decimal unitPrice, global::System.Decimal subTotal, global::System.Int32 lineNumber, global::System.DateTime dateCreated, global::System.DateTime lastUpdated)
 {
     CartContent cartContent = new CartContent();
     cartContent.CartContentsId = cartContentsId;
     cartContent.CartId = cartId;
     cartContent.ProductTitleId = productTitleId;
     cartContent.ProductSKU = productSKU;
     cartContent.Quantity = quantity;
     cartContent.UnitPrice = unitPrice;
     cartContent.SubTotal = subTotal;
     cartContent.LineNumber = lineNumber;
     cartContent.DateCreated = dateCreated;
     cartContent.LastUpdated = lastUpdated;
     return cartContent;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the CartContents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCartContents(CartContent cartContent)
 {
     base.AddObject("CartContents", cartContent);
 }