/// <summary> /// Create a new restockhistory object. /// </summary> /// <param name="key">Initial value of the Key property.</param> /// <param name="pointName">Initial value of the PointName property.</param> /// <param name="stockDate">Initial value of the StockDate property.</param> /// <param name="userKey">Initial value of the UserKey property.</param> public static restockhistory Createrestockhistory(global::System.Int64 key, global::System.String pointName, global::System.DateTime stockDate, global::System.Int64 userKey) { restockhistory restockhistory = new restockhistory(); restockhistory.Key = key; restockhistory.PointName = pointName; restockhistory.StockDate = stockDate; restockhistory.UserKey = userKey; return restockhistory; }
/// <summary> /// Deprecated Method for adding a new object to the restockhistories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTorestockhistories(restockhistory restockhistory) { base.AddObject("restockhistories", restockhistory); }