/// <summary> /// Create a new EventComment object. /// </summary> /// <param name="eventCommentID">Initial value of the EventCommentID property.</param> /// <param name="eventID">Initial value of the EventID property.</param> /// <param name="postedByUserID">Initial value of the PostedByUserID property.</param> /// <param name="deleted">Initial value of the Deleted property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="createdByFullName">Initial value of the CreatedByFullName property.</param> /// <param name="lastUpdatedDate">Initial value of the LastUpdatedDate property.</param> /// <param name="lastUpdatedByFullName">Initial value of the LastUpdatedByFullName property.</param> /// <param name="eventCommentGUID">Initial value of the EventCommentGUID property.</param> public static EventComment CreateEventComment(global::System.Int32 eventCommentID, global::System.Int32 eventID, global::System.Int32 postedByUserID, global::System.Boolean deleted, global::System.DateTime createdDate, global::System.String createdByFullName, global::System.DateTime lastUpdatedDate, global::System.String lastUpdatedByFullName, global::System.Guid eventCommentGUID) { EventComment eventComment = new EventComment(); eventComment.EventCommentID = eventCommentID; eventComment.EventID = eventID; eventComment.PostedByUserID = postedByUserID; eventComment.Deleted = deleted; eventComment.CreatedDate = createdDate; eventComment.CreatedByFullName = createdByFullName; eventComment.LastUpdatedDate = lastUpdatedDate; eventComment.LastUpdatedByFullName = lastUpdatedByFullName; eventComment.EventCommentGUID = eventCommentGUID; return eventComment; }
/// <summary> /// Deprecated Method for adding a new object to the EventComments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventComments(EventComment eventComment) { base.AddObject("EventComments", eventComment); }