[This is preliminary documentation and is subject to change.]
The ExpenseDB type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ExpenseDB | 
Methods
| Name | Description | |
|---|---|---|
| AddOutputParameter | Overloaded. | |
| AddParameter | Overloaded. | |
| AddParameters | Overloaded. | |
| ClearParameters | 
            Clear all the sql stored procedure parameters
              (Inherited from OfficeClipDB.) | |
| Close | 
            Close the connection, data adapter and the command
              (Inherited from OfficeClipDB.) | |
| Commit | 
            Commits the transaction
              (Inherited from OfficeClipDB.) | |
| DeleteExpense | 
            Deletes a particular expense identified by ExpenseId.
              | |
| DeleteExpenseDetails | 
            Deletes all the details corresponding to a particular expense identified by ExpenseId.
              | |
| Dispose | 
            disposes the object for garbage collection
              (Inherited from OfficeClipDB.) | |
| Equals | Determines whether the specified Object is equal to the current Object.  (Inherited from Object.) | |
| ExecuteNonQuery | Overloaded. | |
| ExecuteReader | 
            Executes the sql datareader
              (Inherited from OfficeClipDB.) | |
| ExecuteScalar | 
            Executes the query that returns a single valur
              (Inherited from OfficeClipDB.) | |
| Fill | 
            Fills the dataset
              (Inherited from OfficeClipDB.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.  (Inherited from Object.) | |
| GetActiveExpenseRows | 
            Gets a list of number of rows specified in the currently Active in the group.
              | |
| GetActiveExpenseTypesInfo | 
            Gets all the information related to the currently Active expense types corresponding to a particular group.
              | |
| GetAirfareExpenseDetailInfo | 
            Gets all the details for an airfare type expense detail item
            based on the ExpenseId and ExpenseDetailId specified in the
            the ExpenseAirfareInfo object as input.
              | |
| GetAllExpenseTypes | 
            Gets a list of all the expense types defined for a particular expense identified by the expenseId.
              | |
| GetAllExpenseTypesInfo | 
            Gets the all the information of expense types used in the expense with expenseId.
              | |
| GetAutorentalExpenseDetailInfo | 
            Gets all the details for an auto rental type expense detail item
            based on the ExpenseId and ExpenseDetailId specified in the
            the ExpenseAutorentalInfo object as input.
              | |
| GetExpenseAlreadyExists | 
            Checks for a given start date, whether an expense has already been created by a particular 
            user corresponding to a particular group.
              | |
| GetExpenseComments | 
            Gets a list of all Comments corresponding to a particular expense.
              | |
| GetExpenseDetails | 
            Gets all the expense details items created within a particular expense identified by ExpenseId.
              | |
| GetExpenseDetailsForCSV | 
            Gets all the expense details items created within a particular expense identified by ExpenseId.
              | |
| GetExpenseInfo | 
            Gets all the details related to a particular expense identified by ExpenseId.
              | |
| GetExpenseInfoComments | 
            Gets all the Comments corresponding to 
            a particular expense identified by ExpenseId.
              | |
| GetExpenseRows | 
            Gets a list of number of rows specified in a particular expense types.
              | |
| GetExpenses | 
            Gets a list of all the expenses for a set of users between a given date range for a particular group. 
              | |
| GetExpensesForExport | 
            Gets a set of expenses which are ready to be exported 
            which were created within a given Date range from a particular group.
              | |
| GetExpenseTypeById | 
            Gets the expense types for an expense type id.
              | |
| GetExpenseTypeInfo | 
            Gets all the details corresponding to a particular expense type.
              | |
| GetExpenseTypeList | 
            Gets a list of all the expense types defined in the Active expense types for a particular group.
              | |
| GetExpenseTypes | Overloaded. | |
| GetExpenseTypesForRdlc | 
            List of expense types available for a group (used for rdl reports)
              | |
| GetExpenseTypesInfoForExpenseId | 
            Gets the expense types for expenseId, if the expenseId is -1 then 
            gets the expense types for the groupId.
              | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.  (Inherited from Object.) | |
| GetHotelExpenseDetailInfo | 
            Gets all the details for an hotel type expense detail item
            based on the ExpenseId and ExpenseDetailId specified in the
            the ExpenseHotelInfo object as input.
              | |
| GetLastExpenseInfo | 
            Gets all the informatin related to the most recent expense created by a
            particular user corresponding to a particular group.
              | |
| GetParameterCount | 
            Gets the parameter count
              (Inherited from OfficeClipDB.) | |
| GetParameterValue | 
            Gets the value of the parameter
              (Inherited from OfficeClipDB.) | |
| GetTaxiExpenseDetailInfo | 
            Gets all the details for a taxi type expense detail item
            based on the ExpenseId and ExpenseDetailId specified in the
            the ExpenseTaxiInfo object as input.
              | |
| GetTelephoneExpenseDetailInfo | 
            Gets all the details for a telephone type expense detail item
            based on the ExpenseId and ExpenseDetailId specified in the
            the ExpenseTelephoneInfo object as input.
              | |
| GetType | Gets the Type of the current instance.  (Inherited from Object.) | |
| Init | 
            Initialize the connection parameters
              (Inherited from OfficeClipDB.) | |
| InitTransaction | Overloaded. | |
| InsertExpense | 
            Inserts a new expense into the database and routes it to a particular user as defined in the workflow.
              | |
| InsertExpenseAirfareInfo | 
            Inserts airfare expense detail item crated inside an expense into the database.
              | |
| InsertExpenseAutorentalInfo | 
            Inserts auto rental expense detail item created inside an expense into the database.
              | |
| InsertExpenseCommentInfo | 
            Inserts a new expense Comment created inside an expense
              | |
| InsertExpenseDetailInfo | 
            Inserts individual expense detail items inside an expense into the database.
              | |
| InsertExpenseHotelInfo | 
            Inserts hotel expense detail item crated inside an expense into the database.
              | |
| InsertExpenseInfo | 
            Inserts a new expense into the database.
              | |
| InsertExpenseTaxiInfo | 
            Inserts taxi expense detail item created inside an expense into the database.
              | |
| InsertExpenseTelephoneInfo | 
            Inserts telephone expense detail item created inside an expense into the database.
              | |
| InsertExpenseTypeInfo | 
            Inserts all the information related to a expense type.
              | |
| InsertExpenseTypes | 
            Inserts all the information related to a expense types 
            corresponding to a a particular group.
              | |
| MemberwiseClone | Creates a shallow copy of the current Object.  (Inherited from Object.) | |
| Rollback | 
            Rolls back the transaction
              (Inherited from OfficeClipDB.) | |
| SetExpenseExported | 
            Sets the expired status of the expense
              | |
| SetParameterValue | 
            Sets the parameter value of the sql parameter to a known value
              (Inherited from OfficeClipDB.) | |
| SetSPCommand | Overloaded. | |
| SetSPDataAdapter | 
            Sets the stored procedure data adapter
              (Inherited from OfficeClipDB.) | |
| ToString | Returns a String that represents the current Object.  (Inherited from Object.) | |
| UpdateExpense | 
            Updates all the details realted to a particular expense
            into the database and routes it to a particular user 
            as defined in the workflow.
              | |
| UpdateExpenseCommentInfo | 
            Updates an expense Comment defined inside an expense.
              | |
| UpdateExpenseTypeInfo | 
            Inserts all the information related to a expense types.
              | 
Properties
| Name | Description | |
|---|---|---|
| ConnectionString | 
            Gets the OfficeClip.DBLayer.ConnectionString property encapsulates
            a callout to the ASP+ Config System to obtain the
            database connection string for the application.
              (Inherited from OfficeClipDB.) | |
| DBConnString | 
            The database connection string that is only available within the framework of the DBLayer.
            This should only be set through a constructor so this is not available outside
            the DBLayer. A default conection string is assumed if not set.
              (Inherited from OfficeClipDB.) | 
