/// <summary> /// Create a new tblOrder object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="mealId">Initial value of the MealId property.</param> /// <param name="addressId">Initial value of the AddressId property.</param> /// <param name="total">Initial value of the Total property.</param> /// <param name="amount">Initial value of the Amount property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="delivered">Initial value of the Delivered property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static tblOrder CreatetblOrder(global::System.Int32 id, global::System.Int32 mealId, global::System.Int32 addressId, global::System.Decimal total, global::System.Int32 amount, global::System.Guid createdBy, global::System.Boolean delivered, global::System.DateTime createdDate) { tblOrder tblOrder = new tblOrder(); tblOrder.Id = id; tblOrder.MealId = mealId; tblOrder.AddressId = addressId; tblOrder.Total = total; tblOrder.Amount = amount; tblOrder.CreatedBy = createdBy; tblOrder.Delivered = delivered; tblOrder.CreatedDate = createdDate; return tblOrder; }
/// <summary> /// Deprecated Method for adding a new object to the tblOrder EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblOrder(tblOrder tblOrder) { base.AddObject("tblOrder", tblOrder); }