/// <summary> /// Create a new Feedback object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="text">Initial value of the Text property.</param> /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param> /// <param name="userId">Initial value of the UserId property.</param> public static Feedback CreateFeedback(global::System.Int32 id, global::System.String text, global::System.DateTime dateTimeStamp, global::System.Int32 userId) { Feedback feedback = new Feedback(); feedback.Id = id; feedback.Text = text; feedback.DateTimeStamp = dateTimeStamp; feedback.UserId = userId; return feedback; }
/// <summary> /// Deprecated Method for adding a new object to the Feedbacks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFeedbacks(Feedback feedback) { base.AddObject("Feedbacks", feedback); }