Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Proposals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProposals(Proposal proposal)
 {
     base.AddObject("Proposals", proposal);
 }
Пример #2
0
 /// <summary>
 /// Create a new Proposal object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="proposalDatePrice">Initial value of the ProposalDatePrice property.</param>
 /// <param name="proposal_Asset">Initial value of the Proposal_Asset property.</param>
 /// <param name="supplier_Proposal">Initial value of the Supplier_Proposal property.</param>
 /// <param name="proposal_Currency">Initial value of the Proposal_Currency property.</param>
 public static Proposal CreateProposal(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.DateTime createDate, global::System.Decimal price, global::System.Decimal proposalDatePrice, global::System.Int32 proposal_Asset, global::System.Int32 supplier_Proposal, global::System.Int32 proposal_Currency)
 {
     Proposal proposal = new Proposal();
     proposal.Id = id;
     proposal.RowVersion = rowVersion;
     proposal.CreateDate = createDate;
     proposal.Price = price;
     proposal.ProposalDatePrice = proposalDatePrice;
     proposal.Proposal_Asset = proposal_Asset;
     proposal.Supplier_Proposal = supplier_Proposal;
     proposal.Proposal_Currency = proposal_Currency;
     return proposal;
 }