Example #1
0
 /// <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));
 }
Example #2
0
        /// <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));
        }
Example #3
0
 /// <summary>
 /// Selects all records as a collection (List) of WorkflowMaster
 /// </summary>
 public static List <WorkflowMaster> SelectAll()
 {
     return(WorkflowMasterDataLayer.SelectAll());
 }
Example #4
0
        /// <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));
        }
Example #5
0
 /// <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));
 }
Example #6
0
 /// <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));
 }
Example #7
0
 /// <summary>
 /// Gets the total number of records in the WorkflowMaster table
 /// </summary>
 public static int GetRecordCount()
 {
     return(WorkflowMasterDataLayer.GetRecordCount());
 }
Example #8
0
 /// <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));
 }
Example #9
0
 /// <summary>
 /// Selects a record by primary key(s)
 /// </summary>
 public static WorkflowMaster SelectByPrimaryKey(int workflowId)
 {
     return(WorkflowMasterDataLayer.SelectByPrimaryKey(workflowId));
 }
Example #10
0
 /// <summary>
 /// Deletes a record based on primary key(s)
 /// </summary>
 public static void Delete(int workflowId)
 {
     WorkflowMasterDataLayer.Delete(workflowId);
 }
Example #11
0
        /// <summary>
        /// Updates a record
        /// </summary>
        public void Update()
        {
            WorkflowMaster objWorkflowMaster = (WorkflowMaster)this;

            WorkflowMasterDataLayer.Update(objWorkflowMaster);
        }
Example #12
0
        /// <summary>
        /// Inserts a record
        /// </summary>
        public int Insert()
        {
            WorkflowMaster objWorkflowMaster = (WorkflowMaster)this;

            return(WorkflowMasterDataLayer.Insert(objWorkflowMaster));
        }
Example #13
0
 /// <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());
 }