/// <summary> /// Deprecated Method for adding a new object to the ClaimComments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToClaimComments(ClaimComment claimComment) { base.AddObject("ClaimComments", claimComment); }
/// <summary> /// Create a new ClaimComment object. /// </summary> /// <param name="commentID">Initial value of the CommentID property.</param> /// <param name="claimID">Initial value of the ClaimID property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="commentText">Initial value of the CommentText property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="commentDate">Initial value of the CommentDate property.</param> public static ClaimComment CreateClaimComment(global::System.Int32 commentID, global::System.Int32 claimID, global::System.Int32 userId, global::System.String commentText, global::System.Boolean isActive, global::System.DateTime commentDate) { ClaimComment claimComment = new ClaimComment(); claimComment.CommentID = commentID; claimComment.ClaimID = claimID; claimComment.UserId = userId; claimComment.CommentText = commentText; claimComment.IsActive = isActive; claimComment.CommentDate = commentDate; return claimComment; }