/// <summary> /// Create a new ReportOutgo object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="spareID">Initial value of the SpareID property.</param> /// <param name="quantity">Initial value of the quantity property.</param> /// <param name="outgoID">Initial value of the OutgoID property.</param> /// <param name="total_sum">Initial value of the total_sum property.</param> public static ReportOutgo CreateReportOutgo(global::System.Int32 id, global::System.Int32 spareID, global::System.Decimal quantity, global::System.Int32 outgoID, global::System.Decimal total_sum) { ReportOutgo reportOutgo = new ReportOutgo(); reportOutgo.id = id; reportOutgo.SpareID = spareID; reportOutgo.quantity = quantity; reportOutgo.OutgoID = outgoID; reportOutgo.total_sum = total_sum; return reportOutgo; }
/// <summary> /// Deprecated Method for adding a new object to the ReportOutgoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReportOutgoes(ReportOutgo reportOutgo) { base.AddObject("ReportOutgoes", reportOutgo); }