[This is preliminary documentation and is subject to change.]
Gets a list of all Comments corresponding to a particular expense.
Namespace:
OfficeClip.DBLayer.TEAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public DataSet GetExpenseComments( int expenseId ) |
Visual Basic (Declaration) |
---|
Public Function GetExpenseComments ( _ expenseId As Integer _ ) As DataSet |
Visual C++ |
---|
public: DataSet^ GetExpenseComments( int expenseId ) |
Parameters
- expenseId
- Type: System..::.Int32
Id of the expense.
Return Value
DataSet containing all the information related to the Comments for a particular expense. This DataSet consists of a single DataTable with the following columns.- ExpenseId (System.Int32)Id of the timesheet.
- CommentId (System.Int32)Id of the Comment.
- UserId (System.Int32)Id of the user giving the Comment.
- UserName (System.String)Name of the user giving the Comment.
- Comment (System.String)Comment string.
- CommentDate (System.DateTime)Date and Time when the Comment was given.