/// <summary>
 /// Deprecated Method for adding a new object to the CartItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCartItems(CartItem cartItem)
 {
     base.AddObject("CartItems", cartItem);
 }
 /// <summary>
 /// Create a new CartItem object.
 /// </summary>
 /// <param name="cartId">Initial value of the CartId property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="catalogueItemId">Initial value of the CatalogueItemId property.</param>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="tid">Initial value of the Tid property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="modified">Initial value of the Modified property.</param>
 public static CartItem CreateCartItem(global::System.Int64 cartId, global::System.Int32 quantity, global::System.Int64 catalogueItemId, global::System.Int64 id, global::System.String tid, global::System.String name, global::System.String createdBy, global::System.String modifiedBy, global::System.DateTimeOffset created, global::System.DateTimeOffset modified)
 {
     CartItem cartItem = new CartItem();
     cartItem.CartId = cartId;
     cartItem.Quantity = quantity;
     cartItem.CatalogueItemId = catalogueItemId;
     cartItem.Id = id;
     cartItem.Tid = tid;
     cartItem.Name = name;
     cartItem.CreatedBy = createdBy;
     cartItem.ModifiedBy = modifiedBy;
     cartItem.Created = created;
     cartItem.Modified = modified;
     return cartItem;
 }