/// <summary> /// Deprecated Method for adding a new object to the Valuation EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToValuation(Valuation valuation) { base.AddObject("Valuation", valuation); }
/// <summary> /// Create a new Valuation object. /// </summary> /// <param name="valuationId">Initial value of the valuationId property.</param> /// <param name="score">Initial value of the score property.</param> /// <param name="addDate">Initial value of the addDate property.</param> /// <param name="sellerId">Initial value of the sellerId property.</param> /// <param name="userProfileId">Initial value of the userProfileId property.</param> /// <param name="productId">Initial value of the productId property.</param> public static Valuation CreateValuation(global::System.Int64 valuationId, global::System.Int64 score, global::System.DateTime addDate, global::System.String sellerId, global::System.Int64 userProfileId, global::System.Int64 productId) { Valuation valuation = new Valuation(); valuation.valuationId = valuationId; valuation.score = score; valuation.addDate = addDate; valuation.sellerId = sellerId; valuation.userProfileId = userProfileId; valuation.productId = productId; return valuation; }