コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EventComments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEventComments(EventComments eventComments)
 {
     base.AddObject("EventComments", eventComments);
 }
コード例 #2
0
 /// <summary>
 /// Create a new EventComments object.
 /// </summary>
 /// <param name="ec_id">Initial value of the ec_id property.</param>
 /// <param name="e_id">Initial value of the e_id property.</param>
 /// <param name="u_username">Initial value of the u_username property.</param>
 /// <param name="ec_date">Initial value of the ec_date property.</param>
 /// <param name="ec_comment">Initial value of the ec_comment property.</param>
 public static EventComments CreateEventComments(global::System.Int32 ec_id, global::System.Int32 e_id, global::System.String u_username, global::System.DateTime ec_date, global::System.String ec_comment)
 {
     EventComments eventComments = new EventComments();
     eventComments.ec_id = ec_id;
     eventComments.e_id = e_id;
     eventComments.u_username = u_username;
     eventComments.ec_date = ec_date;
     eventComments.ec_comment = ec_comment;
     return eventComments;
 }