示例#1
0
 /// <summary>
 /// Create a new Bid object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="customerID">Initial value of the CustomerID property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 /// <param name="challengeID">Initial value of the ChallengeID property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static Bid CreateBid(global::System.Int64 id, global::System.Int64 customerID, global::System.Decimal amount, global::System.Int64 challengeID, global::System.Int32 status)
 {
     Bid bid = new Bid();
     bid.ID = id;
     bid.CustomerID = customerID;
     bid.Amount = amount;
     bid.ChallengeID = challengeID;
     bid.Status = status;
     return bid;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Bid EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBid(Bid bid)
 {
     base.AddObject("Bid", bid);
 }