/// <summary> /// Deprecated Method for adding a new object to the ordert EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToordert(ordert ordert) { base.AddObject("ordert", ordert); }
/// <summary> /// Create a new ordert object. /// </summary> /// <param name="order_id">Initial value of the order_id property.</param> /// <param name="totalcost">Initial value of the totalcost property.</param> /// <param name="date">Initial value of the date property.</param> public static ordert Createordert(global::System.Int32 order_id, global::System.Int32 totalcost, global::System.DateTime date) { ordert ordert = new ordert(); ordert.order_id = order_id; ordert.totalcost = totalcost; ordert.date = date; return ordert; }