Пример #1
0
 /// <summary>
 /// Create a new Feedback object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="topic">Initial value of the Topic property.</param>
 /// <param name="feedbackText">Initial value of the FeedbackText property.</param>
 /// <param name="createdAt">Initial value of the CreatedAt property.</param>
 public static Feedback CreateFeedback(global::System.Int32 id, global::System.String topic, global::System.String feedbackText, global::System.DateTime createdAt)
 {
     Feedback feedback = new Feedback();
     feedback.Id = id;
     feedback.Topic = topic;
     feedback.FeedbackText = feedbackText;
     feedback.CreatedAt = createdAt;
     return feedback;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Feedbacks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFeedbacks(Feedback feedback)
 {
     base.AddObject("Feedbacks", feedback);
 }