Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the View_Offers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToView_Offers(View_Offers view_Offers)
 {
     base.AddObject("View_Offers", view_Offers);
 }
Example #2
0
 /// <summary>
 /// Create a new View_Offers object.
 /// </summary>
 /// <param name="offerId">Initial value of the OfferId property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 /// <param name="startPrice">Initial value of the StartPrice property.</param>
 /// <param name="currentPrice">Initial value of the CurrentPrice property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="auctionId">Initial value of the AuctionId property.</param>
 public static View_Offers CreateView_Offers(global::System.Int32 offerId, global::System.String userName, global::System.Decimal startPrice, global::System.Decimal currentPrice, global::System.Guid userId, global::System.Int32 auctionId)
 {
     View_Offers view_Offers = new View_Offers();
     view_Offers.OfferId = offerId;
     view_Offers.UserName = userName;
     view_Offers.StartPrice = startPrice;
     view_Offers.CurrentPrice = currentPrice;
     view_Offers.UserId = userId;
     view_Offers.AuctionId = auctionId;
     return view_Offers;
 }