Пример #1
0
 /// <summary>
 /// Create a new UserFeedback object.
 /// </summary>
 /// <param name="userFeedbackId">Initial value of the UserFeedbackId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="comments">Initial value of the Comments property.</param>
 /// <param name="createdOn">Initial value of the CreatedOn property.</param>
 public static UserFeedback CreateUserFeedback(global::System.Int32 userFeedbackId, global::System.Int32 userId, global::System.String comments, global::System.DateTime createdOn)
 {
     UserFeedback userFeedback = new UserFeedback();
     userFeedback.UserFeedbackId = userFeedbackId;
     userFeedback.UserId = userId;
     userFeedback.Comments = comments;
     userFeedback.CreatedOn = createdOn;
     return userFeedback;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserFeedbacks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserFeedbacks(UserFeedback userFeedback)
 {
     base.AddObject("UserFeedbacks", userFeedback);
 }