/// <summary> /// Create a new CarrierComment object. /// </summary> /// <param name="commentId">Initial value of the CommentId property.</param> /// <param name="carrierID">Initial value of the CarrierID property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="commentText">Initial value of the CommentText property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="commentDate">Initial value of the CommentDate property.</param> public static CarrierComment CreateCarrierComment(global::System.Int32 commentId, global::System.Int32 carrierID, global::System.Int32 userId, global::System.String commentText, global::System.Boolean status, global::System.DateTime commentDate) { CarrierComment carrierComment = new CarrierComment(); carrierComment.CommentId = commentId; carrierComment.CarrierID = carrierID; carrierComment.UserId = userId; carrierComment.CommentText = commentText; carrierComment.Status = status; carrierComment.CommentDate = commentDate; return carrierComment; }
/// <summary> /// Deprecated Method for adding a new object to the CarrierComments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCarrierComments(CarrierComment carrierComment) { base.AddObject("CarrierComments", carrierComment); }