/// <summary> /// Deprecated Method for adding a new object to the SalesOrderStatus EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSalesOrderStatus(SalesOrderStatus salesOrderStatus) { base.AddObject("SalesOrderStatus", salesOrderStatus); }
/// <summary> /// Create a new SalesOrderStatus object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="description">Initial value of the description property.</param> public static SalesOrderStatus CreateSalesOrderStatus(global::System.Int32 id, global::System.String description) { SalesOrderStatus salesOrderStatus = new SalesOrderStatus(); salesOrderStatus.id = id; salesOrderStatus.description = description; return salesOrderStatus; }