/// <summary> /// Create a new RevenueList object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="revenueGroupId">Initial value of the RevenueGroupId property.</param> /// <param name="sourceName">Initial value of the SourceName property.</param> /// <param name="amountGRN">Initial value of the AmountGRN property.</param> /// <param name="creationDate">Initial value of the CreationDate property.</param> /// <param name="memo">Initial value of the Memo property.</param> /// <param name="exchangeRate">Initial value of the ExchangeRate property.</param> /// <param name="currencyId">Initial value of the CurrencyId property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static RevenueList CreateRevenueList(global::System.Int32 id, global::System.Int32 revenueGroupId, global::System.String sourceName, global::System.Decimal amountGRN, global::System.DateTime creationDate, global::System.String memo, global::System.Double exchangeRate, global::System.Int32 currencyId, global::System.Boolean isDeleted) { RevenueList revenueList = new RevenueList(); revenueList.Id = id; revenueList.RevenueGroupId = revenueGroupId; revenueList.SourceName = sourceName; revenueList.AmountGRN = amountGRN; revenueList.CreationDate = creationDate; revenueList.Memo = memo; revenueList.ExchangeRate = exchangeRate; revenueList.CurrencyId = currencyId; revenueList.IsDeleted = isDeleted; return(revenueList); }
/// <summary> /// Deprecated Method for adding a new object to the TblRevenueLists EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTblRevenueLists(RevenueList revenueList) { base.AddObject("TblRevenueLists", revenueList); }