/// <summary> /// Selects records based on the passed filters as a collection (List) of WorkflowMaster. /// </summary> public static List <WorkflowMaster> SelectAllDynamicWhere(int?workflowId, string workflowName, int?levelOfApprovals, string createdBy, DateTime?createdOn, string updatedby, DateTime?updatedon) { return(WorkflowMasterDataLayer.SelectAllDynamicWhere(workflowId, workflowName, levelOfApprovals, createdBy, createdOn, updatedby, updatedon)); }
/// <summary> /// Selects records based on the passed filters as a collection (List) of WorkflowMaster sorted by the sort expression. /// </summary> public static List <WorkflowMaster> SelectAllDynamicWhere(int?workflowId, string workflowName, int?levelOfApprovals, string createdBy, DateTime?createdOn, string updatedby, DateTime?updatedon, string sortByExpression) { List <WorkflowMaster> objWorkflowMasterCol = WorkflowMasterDataLayer.SelectAllDynamicWhere(workflowId, workflowName, levelOfApprovals, createdBy, createdOn, updatedby, updatedon); return(SortByExpression(objWorkflowMasterCol, sortByExpression)); }
/// <summary> /// Selects all records as a collection (List) of WorkflowMaster /// </summary> public static List <WorkflowMaster> SelectAll() { return(WorkflowMasterDataLayer.SelectAll()); }
/// <summary> /// Selects all records as a collection (List) of WorkflowMaster sorted by the sort expression /// </summary> public static List <WorkflowMaster> SelectAll(string sortByExpression) { List <WorkflowMaster> objWorkflowMasterCol = WorkflowMasterDataLayer.SelectAll(); return(SortByExpression(objWorkflowMasterCol, sortByExpression)); }
/// <summary> /// Selects records as a collection (List) of WorkflowMaster sorted by the sortByExpression and returns the rows (# of records) starting from the startRowIndex /// </summary> public static List <WorkflowMaster> SelectSkipAndTake(int rows, int startRowIndex, string sortByExpression) { sortByExpression = GetSortExpression(sortByExpression); return(WorkflowMasterDataLayer.SelectSkipAndTake(sortByExpression, startRowIndex, rows)); }
/// <summary> /// Selects records as a collection (List) of WorkflowMaster sorted by the sortByExpression starting from the startRowIndex, based on the search parameters /// </summary> public static List <WorkflowMaster> SelectSkipAndTakeDynamicWhere(int?workflowId, string workflowName, int?levelOfApprovals, string createdBy, DateTime?createdOn, string updatedby, DateTime?updatedon, int rows, int startRowIndex, string sortByExpression) { sortByExpression = GetSortExpression(sortByExpression); return(WorkflowMasterDataLayer.SelectSkipAndTakeDynamicWhere(workflowId, workflowName, levelOfApprovals, createdBy, createdOn, updatedby, updatedon, sortByExpression, startRowIndex, rows)); }
/// <summary> /// Gets the total number of records in the WorkflowMaster table /// </summary> public static int GetRecordCount() { return(WorkflowMasterDataLayer.GetRecordCount()); }
/// <summary> /// Gets the total number of records in the WorkflowMaster table based on search parameters /// </summary> public static int GetRecordCountDynamicWhere(int?workflowId, string workflowName, int?levelOfApprovals, string createdBy, DateTime?createdOn, string updatedby, DateTime?updatedon) { return(WorkflowMasterDataLayer.GetRecordCountDynamicWhere(workflowId, workflowName, levelOfApprovals, createdBy, createdOn, updatedby, updatedon)); }
/// <summary> /// Selects a record by primary key(s) /// </summary> public static WorkflowMaster SelectByPrimaryKey(int workflowId) { return(WorkflowMasterDataLayer.SelectByPrimaryKey(workflowId)); }
/// <summary> /// Deletes a record based on primary key(s) /// </summary> public static void Delete(int workflowId) { WorkflowMasterDataLayer.Delete(workflowId); }
/// <summary> /// Updates a record /// </summary> public void Update() { WorkflowMaster objWorkflowMaster = (WorkflowMaster)this; WorkflowMasterDataLayer.Update(objWorkflowMaster); }
/// <summary> /// Inserts a record /// </summary> public int Insert() { WorkflowMaster objWorkflowMaster = (WorkflowMaster)this; return(WorkflowMasterDataLayer.Insert(objWorkflowMaster)); }
/// <summary> /// Selects WorkflowId and WorkflowName columns for use with a DropDownList web control, ComboBox, CheckedBoxList, ListView, ListBox, etc /// </summary> public static List <WorkflowMaster> SelectWorkflowMasterDropDownListData() { return(WorkflowMasterDataLayer.SelectWorkflowMasterDropDownListData()); }