/// <summary> /// Create a new Bid object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="bidAmount">Initial value of the BidAmount property.</param> /// <param name="greek_Id">Initial value of the Greek_Id property.</param> /// <param name="event_Id">Initial value of the Event_Id property.</param> public static Bid CreateBid(global::System.Int32 id, global::System.Double bidAmount, global::System.Int32 greek_Id, global::System.Int32 event_Id) { Bid bid = new Bid(); bid.Id = id; bid.BidAmount = bidAmount; bid.Greek_Id = greek_Id; bid.Event_Id = event_Id; return bid; }
/// <summary> /// Deprecated Method for adding a new object to the Bids EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBids(Bid bid) { base.AddObject("Bids", bid); }