Logs activity on user accounts themselves (user logins and logouts are recorded in s_login)
More...
|
static void | LoadAll (DataSet ADataSet, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| this method is called by all overloads More...
|
|
static void | LoadAll (DataSet AData, TDBTransaction ATransaction) |
| auto generated More...
|
|
static void | LoadAll (DataSet AData, StringCollection AFieldList, TDBTransaction ATransaction) |
| auto generated More...
|
|
static SUserAccountActivityTable | LoadAll (StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| auto generated More...
|
|
static SUserAccountActivityTable | LoadAll (TDBTransaction ATransaction) |
| auto generated More...
|
|
static SUserAccountActivityTable | LoadAll (StringCollection AFieldList, TDBTransaction ATransaction) |
| auto generated More...
|
|
static SUserAccountActivityRow | LoadByPrimaryKey (DataSet ADataSet, String AUserId, System.DateTime AActivityDate, Int32 AActivityTime, String AActivityType, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| this method is called by all overloads More...
|
|
static SUserAccountActivityRow | LoadByPrimaryKey (DataSet AData, String AUserId, System.DateTime AActivityDate, Int32 AActivityTime, String AActivityType, TDBTransaction ATransaction) |
| auto generated More...
|
|
static SUserAccountActivityRow | LoadByPrimaryKey (DataSet AData, String AUserId, System.DateTime AActivityDate, Int32 AActivityTime, String AActivityType, StringCollection AFieldList, TDBTransaction ATransaction) |
| auto generated More...
|
|
static SUserAccountActivityTable | LoadByPrimaryKey (String AUserId, System.DateTime AActivityDate, Int32 AActivityTime, String AActivityType, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| auto generated More...
|
|
static SUserAccountActivityTable | LoadByPrimaryKey (String AUserId, System.DateTime AActivityDate, Int32 AActivityTime, String AActivityType, TDBTransaction ATransaction) |
| auto generated More...
|
|
static SUserAccountActivityTable | LoadByPrimaryKey (String AUserId, System.DateTime AActivityDate, Int32 AActivityTime, String AActivityType, StringCollection AFieldList, TDBTransaction ATransaction) |
| auto generated More...
|
|
static void | LoadUsingTemplate (DataSet ADataSet, SUserAccountActivityRow ATemplateRow, StringCollection ATemplateOperators, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| this method is called by all overloads More...
|
|
static void | LoadUsingTemplate (DataSet AData, SUserAccountActivityRow ATemplateRow, TDBTransaction ATransaction) |
| auto generated More...
|
|
static void | LoadUsingTemplate (DataSet AData, SUserAccountActivityRow ATemplateRow, StringCollection AFieldList, TDBTransaction ATransaction) |
| auto generated More...
|
|
static SUserAccountActivityTable | LoadUsingTemplate (SUserAccountActivityRow ATemplateRow, StringCollection ATemplateOperators, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| auto generated More...
|
|
static SUserAccountActivityTable | LoadUsingTemplate (SUserAccountActivityRow ATemplateRow, TDBTransaction ATransaction) |
| auto generated More...
|
|
static SUserAccountActivityTable | LoadUsingTemplate (SUserAccountActivityRow ATemplateRow, StringCollection AFieldList, TDBTransaction ATransaction) |
| auto generated More...
|
|
static SUserAccountActivityTable | LoadUsingTemplate (SUserAccountActivityRow ATemplateRow, StringCollection ATemplateOperators, StringCollection AFieldList, TDBTransaction ATransaction) |
| auto generated More...
|
|
static void | LoadUsingTemplate (DataSet ADataSet, TSearchCriteria[] ASearchCriteria, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| this method is called by all overloads More...
|
|
static void | LoadUsingTemplate (DataSet AData, TSearchCriteria[] ASearchCriteria, TDBTransaction ATransaction) |
| auto generated More...
|
|
static void | LoadUsingTemplate (DataSet AData, TSearchCriteria[] ASearchCriteria, StringCollection AFieldList, TDBTransaction ATransaction) |
| auto generated More...
|
|
static SUserAccountActivityTable | LoadUsingTemplate (TSearchCriteria[] ASearchCriteria, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| auto generated More...
|
|
static SUserAccountActivityTable | LoadUsingTemplate (TSearchCriteria[] ASearchCriteria, TDBTransaction ATransaction) |
| auto generated More...
|
|
static SUserAccountActivityTable | LoadUsingTemplate (TSearchCriteria[] ASearchCriteria, StringCollection AFieldList, TDBTransaction ATransaction) |
| auto generated More...
|
|
static int | CountAll (TDBTransaction ATransaction) |
| this method is called by all overloads More...
|
|
static bool | Exists (String AUserId, System.DateTime AActivityDate, Int32 AActivityTime, String AActivityType, TDBTransaction ATransaction) |
| check if a row exists by using the primary key More...
|
|
static int | CountUsingTemplate (SUserAccountActivityRow ATemplateRow, StringCollection ATemplateOperators, TDBTransaction ATransaction) |
| this method is called by all overloads More...
|
|
static int | CountUsingTemplate (TSearchCriteria[] ASearchCriteria, TDBTransaction ATransaction) |
| this method is called by all overloads More...
|
|
static void | DeleteByPrimaryKey (String AUserId, System.DateTime AActivityDate, Int32 AActivityTime, String AActivityType, TDBTransaction ATransaction) |
| auto generated More...
|
|
static void | DeleteUsingTemplate (SUserAccountActivityRow ATemplateRow, StringCollection ATemplateOperators, TDBTransaction ATransaction) |
| auto generated More...
|
|
static void | DeleteUsingTemplate (TSearchCriteria[] ASearchCriteria, TDBTransaction ATransaction) |
| auto generated More...
|
|
static void | SubmitChanges (SUserAccountActivityTable ATable, TDBTransaction ATransaction) |
| Auto generated code ... More...
|
|
static void | AddOrModifyRecord (String AUserId, System.DateTime AActivityDate, Int32 AActivityTime, String AActivityType, SUserAccountActivityTable ATable, SUserAccountActivityRow ANewRow, bool ADoNotOverwrite, TDBTransaction ATransaction) |
|
static bool | NoDefaultColumn (String AColumnName) |
| This function returns true if the column name is not one of the special columns, that are written automatically: modified date and by, created date and by, modification id More...
|
|
static void | GetStoredModification (short ATableId, string[] AColumnNames, int[] APrimKeyColumnOrdList, DataRow ADataRow, DB.TDBTransaction ATransaction, out DateTime AModificationID, out String AModifiedBy, out System.DateTime AModifiedDate, bool ATreatRowAsAdded=false) |
| This function returns the modification details of a row More...
|
|
static void | InsertRow (short ATableId, ref DataRow ADataRow, String ACurrentUser, StringBuilder AInsertStatement, List< OdbcParameter >AInsertParameters) |
| This function is called by the DataStore (SubmitChanges). it will not update the modification id. More...
|
|
static void | InsertRow (short ATableId, ref DataRow ADataRow, TDBTransaction ATransaction, String ACurrentUser, bool ATreatRowAsAdded) |
| This function is called by the DataStore (SubmitChanges). it will update the modification id. More...
|
|
static void | UpdateRow (short ATableId, bool AThrowAwayAfterSubmitChanges, ref DataRow ADataRow, DB.TDBTransaction ATransaction, String ACurrentUser) |
| This function is called by the DataStore (SubmitChanges) More...
|
|
static void | DeleteRow (short ATableId, DataRow ADataRow, DB.TDBTransaction ATransaction) |
| This function is called by the DataStore (SubmitChanges) More...
|
|
static String | GenerateSelectClause (StringCollection AFieldList, short ATableID, bool AIncludeTableNames=false) |
| This function expects a StringCollection that can be filled, empty or nil. It also needs the list of the primary key columns, because otherwise the returned row will fail the constraints. It will return a proper Select Clause. More...
|
|
static String | GenerateSelectClauseLong (String ATableName, StringCollection AFieldList, short ATableId) |
| This function expects a StringCollection that can be filled, empty or nil. It also needs the list of the primary key columns, because otherwise the returned row will fail the constraints. It will prefix all fields with the given tablename. needed for selecting from join statements. It will return a proper Select Clause. If a field has already a dot in the name, the ATablename is not put before it: That way you can do SUM(PUB_table.p_something). More...
|
|
static String | GenerateWhereClause (string[] AColumnNames, DataRow ADataRow, StringCollection ATemplateOperators) |
| This function expects an empty table that contains all existing columns, and a datarow that has a string or an empty value for each column. It will return a Where clause, using the given values. More...
|
|
static String | GenerateWhereClause (string[] AColumnNames, DataRow ADataRow) |
| This function expects an empty table that contains all existing columns, and a datarow that has a string or an empty value for each column. It will return a Where clause, using the given values. More...
|
|
static String | GenerateWhereClause (TSearchCriteria[] ASearchCriteria) |
| This function expects an empty table that contains all existing columns, and search criteria. It will return a Where clause, using the given values. More...
|
|
static String | GenerateWhereClauseFromPrimaryKey (short ATableId) |
| this function generates a where clause for the primary key of the given table More...
|
|
static String | GenerateWhereClauseFromUniqueKey (short ATableId) |
| this function generates a where clause for the unique key of the given table More...
|
|
static String | GenerateWhereClauseLong (String ATableName, short ATableId, DataRow ADataRow, StringCollection ATemplateOperators) |
| This function expects a string list of all existing columns, and a datarow that has a value or an empty value for each column. It will return a Where clause, using the given values. It does not contain the WHERE keyword. It uses the long form, table.fieldname More...
|
|
static String | GenerateWhereClauseLong (String ATableName, TSearchCriteria[] ASearchCriteria) |
| This function expects a string list of all existing columns, and a criteria list of values to search for. It will return a Where clause, using the given values. It does not contain the WHERE keyword. It uses the long form, table.fieldname More...
|
|
static String | GenerateWhereClauseLong (String ATableName, short ATableId, DataRow ADataRow) |
| This function expects a string array with the names of all existing columns, and a datarow that has a value or an empty value for each column. It will return a Where clause, using the given values. It does not contain the WHERE keyword. It uses the long form, table.fieldname More...
|
|
static String | GenerateOrderByClause (StringCollection AOrderBy) |
| This function expects a list of string, where the first string is either "order by" or "group by", and the rest of the string is e.g. "p_partner.p_partner_key_n ASC" It will return the appropriate part of the sql query More...
|
|
static OdbcParameter | CreateOdbcParameter (short ATableId, Int32 AColumnNr, Type AType) |
| This function creates an odbc parameter with the correct type, based on the obj which comes from a DataRow More...
|
|
static System.Object | GetSafeValue (DataRow ADataRow, System.Int32 AColumnNr, DataRowVersion AVersion) |
| This function returns either a valid object or System.DBNull; this is necessary because mono sometimes has a nil pointer in the DataRow for the original version etc. More...
|
|
static System.Object | GetSafeValue (DataRow ADataRow, String AColumnName, DataRowVersion AVersion) |
| This function returns either a valid object or System.DBNull; this is necessary because mono sometimes has a nil pointer in the DataRow for the original version etc. More...
|
|
static bool | NotEquals (DataRow ADataRow, System.Int32 AColumnNr, ref System.Object ACurrentValue) |
| Compare the original and the current value of a column in a datarow. Make sure some mono specific troubles are worked around. More...
|
|
static OdbcParameter[] | GetParametersForWhereClause (short ATableId, DataRow ADataRow) |
| This function provides the actual parameters for the GenerateWhereClause uses only the values that are not DBNULL More...
|
|
static OdbcParameter[] | GetParametersForWhereClause (short ATableNumber, TSearchCriteria[] ASearchCriteria) |
| This function provides the actual parameters for the GenerateWhereClause More...
|
|
static OdbcParameter[] | GetParametersForWhereClauseWithPrimaryKey (short ATableId, DataRow ADataRow) |
| This function provides the actual parameters for the GenerateWhereClause uses only the values that are not DBNULL More...
|
|
static List< OdbcParameter > | GetParametersForInsertClause (short ATableId, ref DataRow ADataRow, Int32 ANumberDBColumns, String ACurrentUser, bool AIncludeDefaultColumns) |
| This function provides the actual parameters for the GenerateInsertClause uses only the values that are not DBNULL adds the next modification ID More...
|
|
static OdbcParameter[] | GetParametersForUpdateClause (short ATableId, ref DataRow ADataRow, int[] APrimaryKeyColumnOrd, Int32 ANumberDBColumns, String ACurrentUser) |
| This function provides the actual parameters for the GenerateUpdateClause uses only the values that are changed (comparing the current and the original version of the row) More...
|
|
static OdbcParameter[] | GetParametersForDeleteClause (short ATableId, DataRow ADataRow, int[] APrimaryKeyColumnOrd) |
| This function provides the actual parameters for the GenerateDeleteClause it uses the OriginalVersion of the primary key values More...
|
|
static String | GenerateInsertClause (String ATableName, string[] AColumnNames, DataRow ADataRow, bool AIncludeDefaultColumns) |
| This function expects an empty table that contains all existing columns, and a datarow that has a value or an empty value for each column. It will return a complete INSERT Clause. More...
|
|
static String | GenerateUpdateClause (String ATableName, string[] AColumnNames, DataRow ADataRow, int[] APrimKeyColumnOrdList) |
| This function expects an empty table that contains all existing columns, and a datarow that has a value or an empty value for each column. More...
|
|
static DataRow | LoadByPrimaryKey (short ATableId, DataSet ADataSet, System.Object[] APrimaryKeyValues, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| load data row by primary key into a dataset More...
|
|
static DataRow | LoadByPrimaryKey (short ATableId, TTypedDataTable ADataTable, System.Object[] APrimaryKeyValues, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| different version for data table More...
|
|
static void | LoadByUniqueKey (short ATableId, DataSet ADataSet, System.Object[] AUniqueKeyValues, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| load data row by unique key into a dataset More...
|
|
static void | LoadByUniqueKey (short ATableId, TTypedDataTable ADataTable, System.Object[] AUniqueKeyValues, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| different version for data table More...
|
|
static void | LoadViaForeignKey (short ATableId, short AOtherTableId, DataSet ADataSet, string[] AThisFieldNames, System.Object[] AForeignKeyValues, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| load data for the current table via a foreign key, eg. load all extracts created by user x More...
|
|
static void | LoadViaForeignKey (short ATableId, short AOtherTableId, TTypedDataTable ADataTable, string[] AThisFieldNames, System.Object[] AForeignKeyValues, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| load data for the current table via a foreign key, eg. load all extracts created by user x More...
|
|
static void | LoadViaForeignKey (short ATableId, short AOtherTableId, DataSet ADataSet, string[] AThisFieldNames, DataRow ATemplateRow, StringCollection ATemplateOperators, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| Load via other table, using template values. More...
|
|
static void | LoadViaForeignKey (short ATableId, short AOtherTableId, TTypedDataTable ADataTable, string[] AThisFieldNames, DataRow ATemplateRow, StringCollection ATemplateOperators, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| Load via other table, using template values. More...
|
|
static void | LoadViaForeignKey (short ATableId, short AOtherTableId, DataSet ADataSet, string[] AThisFieldNames, TSearchCriteria[] ASearchCriteria, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| Load via other table, using template values. More...
|
|
static void | LoadViaForeignKey (short ATableId, short AOtherTableId, TTypedDataTable ADataTable, string[] AThisFieldNames, TSearchCriteria[] ASearchCriteria, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| Load via other table, using template values. More...
|
|
static int | CountViaForeignKey (short ATableId, short AOtherTableId, string[] AThisFieldNames, System.Object[] AForeignKeyValues, TDBTransaction ATransaction) |
| count the rows by the values of a foreign key More...
|
|
static int | CountViaForeignKey (short ATableId, short AOtherTableId, string[] AThisFieldNames, DataRow ATemplateRow, StringCollection ATemplateOperators, TDBTransaction ATransaction) |
| count the rows by the values of a foreign key More...
|
|
static int | CountViaForeignKey (short ATableId, short AOtherTableId, string[] AThisFieldNames, TSearchCriteria[] ASearchCriteria, TDBTransaction ATransaction) |
| count the rows by the values of a foreign key More...
|
|
static void | DeleteByPrimaryKey (short ATableId, System.Object[] APrimaryKeyValues, TDBTransaction ATransaction) |
| delete by primary key values More...
|
|
static bool | Exists (short ATableId, System.Object[] APrimaryKeyValues, TDBTransaction ATransaction) |
| check if row exists with the primary key More...
|
|
static bool | ExistsUniqueKey (short ATableId, System.Object[] AUniqueKeyValues, TDBTransaction ATransaction) |
| check if row exists with the unique key More...
|
|
static void | LoadUsingTemplate (short ATableID, DataSet ADataSet, TSearchCriteria[] ASearchCriteria, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| loads all rows matching certain search criteria into a dataset More...
|
|
static void | LoadUsingTemplate (short ATableID, TTypedDataTable ATypedTableToLoad, TSearchCriteria[] ASearchCriteria, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| loads all rows matching certain search criteria into a typed data table More...
|
|
static void | LoadUsingTemplate (short ATableId, DataSet ADataSet, DataRow ATemplateRow, StringCollection ATemplateOperators, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| load using a template row More...
|
|
static void | LoadUsingTemplate (short ATableId, TTypedDataTable ADataTable, DataRow ATemplateRow, StringCollection ATemplateOperators, StringCollection AFieldList, TDBTransaction ATransaction, StringCollection AOrderBy, int AStartRecord, int AMaxRecords) |
| load using a template row More...
|
|
static void | DeleteUsingTemplate (short ATableId, DataRow ATemplateRow, StringCollection ATemplateOperators, TDBTransaction ATransaction) |
| delete all rows matching the given row More...
|
|
static void | DeleteUsingTemplate (short ATableId, TSearchCriteria[] ASearchCriteria, TDBTransaction ATransaction) |
| delete all rows matching the search criteria More...
|
|
static void | SubmitChanges (TTypedDataTable ATable, TDBTransaction ATransaction, eSubmitChangesOperations ASelectedOperations, string AUserId, string ASequenceName, string ASequenceField) |
| submit those rows in the table that have been modified or created or deleted More...
|
|
static void | SubmitChanges (TTypedDataTable ATable, TDBTransaction ATransaction, string AUserId, string ASequenceName, string ASequenceField) |
| overloaded version without ASelectedOperations More...
|
|
static void | SubmitChanges (TTypedDataTable ATable, TDBTransaction ATransaction, string AUserId) |
| overloaded version without sequence More...
|
|
static void | SubmitChanges (TTypedDataTable ATable, TDBTransaction ATransaction, eSubmitChangesOperations ASelectedOperations, string AUserId) |
| overloaded version without sequence, but with ASelectedOperations More...
|
|
static TVerificationResultCollection | BuildVerificationResultCollectionFromRefTables (string AThisTable, string AThisTableLabel, Dictionary< string, object >APKInfo, List< TRowReferenceInfo >AReferences, TResultSeverity AResultSeverity=TResultSeverity.Resv_Critical) |
| Builds a TVerificationResultCollection from DB Table references created by a cascading count Method. It will contain only a single TVerificationResult. More...
|
|