[This is preliminary documentation and is subject to change.]

The ExpenseDB type exposes the following members.

Constructors

  NameDescription
Public methodExpenseDB

Methods

  NameDescription
Public methodAddOutputParameterOverloaded.
Public methodAddParameterOverloaded.
Protected methodAddParametersOverloaded.
Public methodClearParameters
Clear all the sql stored procedure parameters
(Inherited from OfficeClipDB.)
Public methodClose
Close the connection, data adapter and the command
(Inherited from OfficeClipDB.)
Public methodCommit
Commits the transaction
(Inherited from OfficeClipDB.)
Public methodDeleteExpense
Deletes a particular expense identified by ExpenseId.
Public methodDeleteExpenseDetails
Deletes all the details corresponding to a particular expense identified by ExpenseId.
Public methodDispose
disposes the object for garbage collection
(Inherited from OfficeClipDB.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodExecuteNonQueryOverloaded.
Protected methodExecuteReader
Executes the sql datareader
(Inherited from OfficeClipDB.)
Protected methodExecuteScalar
Executes the query that returns a single valur
(Inherited from OfficeClipDB.)
Protected methodFill
Fills the dataset
(Inherited from OfficeClipDB.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetActiveExpenseRows
Gets a list of number of rows specified in the currently Active in the group.
Public methodGetActiveExpenseTypesInfo
Gets all the information related to the currently Active expense types corresponding to a particular group.
Public methodGetAirfareExpenseDetailInfo
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.
Public methodGetAllExpenseTypes
Gets a list of all the expense types defined for a particular expense identified by the expenseId.
Public methodGetAllExpenseTypesInfo
Gets the all the information of expense types used in the expense with expenseId.
Public methodGetAutorentalExpenseDetailInfo
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.
Public methodGetExpenseAlreadyExists
Checks for a given start date, whether an expense has already been created by a particular user corresponding to a particular group.
Public methodGetExpenseComments
Gets a list of all Comments corresponding to a particular expense.
Public methodGetExpenseDetails
Gets all the expense details items created within a particular expense identified by ExpenseId.
Public methodGetExpenseDetailsForCSV
Gets all the expense details items created within a particular expense identified by ExpenseId.
Public methodGetExpenseInfo
Gets all the details related to a particular expense identified by ExpenseId.
Public methodGetExpenseInfoComments
Gets all the Comments corresponding to a particular expense identified by ExpenseId.
Public methodGetExpenseRows
Gets a list of number of rows specified in a particular expense types.
Public methodGetExpenses
Gets a list of all the expenses for a set of users between a given date range for a particular group.
Public methodGetExpensesForExport
Gets a set of expenses which are ready to be exported which were created within a given Date range from a particular group.
Public methodGetExpenseTypeById
Gets the expense types for an expense type id.
Public methodGetExpenseTypeInfo
Gets all the details corresponding to a particular expense type.
Public methodGetExpenseTypeList
Gets a list of all the expense types defined in the Active expense types for a particular group.
Public methodGetExpenseTypesOverloaded.
Public methodGetExpenseTypesForRdlc
List of expense types available for a group (used for rdl reports)
Public methodGetExpenseTypesInfoForExpenseId
Gets the expense types for expenseId, if the expenseId is -1 then gets the expense types for the groupId.
Public methodGetHashCode
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.)
Public methodGetHotelExpenseDetailInfo
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.
Public methodGetLastExpenseInfo
Gets all the informatin related to the most recent expense created by a particular user corresponding to a particular group.
Public methodGetParameterCount
Gets the parameter count
(Inherited from OfficeClipDB.)
Public methodGetParameterValue
Gets the value of the parameter
(Inherited from OfficeClipDB.)
Public methodGetTaxiExpenseDetailInfo
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.
Public methodGetTelephoneExpenseDetailInfo
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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInit
Initialize the connection parameters
(Inherited from OfficeClipDB.)
Public methodInitTransactionOverloaded.
Public methodInsertExpense
Inserts a new expense into the database and routes it to a particular user as defined in the workflow.
Public methodInsertExpenseAirfareInfo
Inserts airfare expense detail item crated inside an expense into the database.
Public methodInsertExpenseAutorentalInfo
Inserts auto rental expense detail item created inside an expense into the database.
Public methodInsertExpenseCommentInfo
Inserts a new expense Comment created inside an expense
Public methodInsertExpenseDetailInfo
Inserts individual expense detail items inside an expense into the database.
Public methodInsertExpenseHotelInfo
Inserts hotel expense detail item crated inside an expense into the database.
Public methodInsertExpenseInfo
Inserts a new expense into the database.
Public methodInsertExpenseTaxiInfo
Inserts taxi expense detail item created inside an expense into the database.
Public methodInsertExpenseTelephoneInfo
Inserts telephone expense detail item created inside an expense into the database.
Public methodInsertExpenseTypeInfo
Inserts all the information related to a expense type.
Public methodInsertExpenseTypes
Inserts all the information related to a expense types corresponding to a a particular group.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRollback
Rolls back the transaction
(Inherited from OfficeClipDB.)
Public methodSetExpenseExported
Sets the expired status of the expense
Public methodSetParameterValue
Sets the parameter value of the sql parameter to a known value
(Inherited from OfficeClipDB.)
Protected methodSetSPCommandOverloaded.
Protected methodSetSPDataAdapter
Sets the stored procedure data adapter
(Inherited from OfficeClipDB.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodUpdateExpense
Updates all the details realted to a particular expense into the database and routes it to a particular user as defined in the workflow.
Public methodUpdateExpenseCommentInfo
Updates an expense Comment defined inside an expense.
Public methodUpdateExpenseTypeInfo
Inserts all the information related to a expense types.

Properties

  NameDescription
Public propertyConnectionString
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.)
Protected propertyDBConnString
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.)

See Also