/// <summary> /// Create a new Order object. /// </summary> /// <param name="orderGuid">Initial value of the OrderGuid property.</param> /// <param name="orderNo">Initial value of the OrderNo property.</param> /// <param name="storeGuid">Initial value of the StoreGuid property.</param> /// <param name="userGuid">Initial value of the UserGuid property.</param> /// <param name="customerEmailVerified">Initial value of the CustomerEmailVerified property.</param> /// <param name="cardTypeGuid">Initial value of the CardTypeGuid property.</param> /// <param name="created">Initial value of the Created property.</param> public static Order CreateOrder(global::System.Guid orderGuid, global::System.Int32 orderNo, global::System.Guid storeGuid, global::System.Guid userGuid, global::System.Boolean customerEmailVerified, global::System.Guid cardTypeGuid, global::System.DateTime created) { Order order = new Order(); order.OrderGuid = orderGuid; order.OrderNo = orderNo; order.StoreGuid = storeGuid; order.UserGuid = userGuid; order.CustomerEmailVerified = customerEmailVerified; order.CardTypeGuid = cardTypeGuid; order.Created = created; return order; }
/// <summary> /// Deprecated Method for adding a new object to the Orders EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrders(Order order) { base.AddObject("Orders", order); }