public static DataTable GetCFInfo(Guid CFId) { using (DAL.StepPointWFEntities db = new DAL.StepPointWFEntities()) { DataTable Result = ToDataTable(db.TM_GetCFInfo(CFId).ToList()); return(Result); } }
public List <DAL.lkup_JobTitle> JobTitle_Get() { using (DAL.StepPointWFEntities db = new DAL.StepPointWFEntities()) { List <DAL.lkup_JobTitle> lkup_JobTitles = db.lkup_JobTitle.ToList(); return(lkup_JobTitles); } }
public DataTable Steps_GetWorkflowId(Guid pWorkflowId) { DataTable result = new DataTable(); using (DAL.StepPointWFEntities db = new DAL.StepPointWFEntities()) { result = Logic.Main.GetStepsbyWorkflowId(pWorkflowId); } return(result); }
public DataTable StepRequiredItemby_GetObjectId(Guid pObjectId) { DataTable result = new DataTable(); using (DAL.StepPointWFEntities db = new DAL.StepPointWFEntities()) { result = Logic.Main.GetStepRequiredItembyObjectId(pObjectId); } return(result); }
public DataTable GetWorkflowStepsbyObjectId(Guid?pObjectId, Guid?PObjectTypeId) { DataTable result = new DataTable(); using (DAL.StepPointWFEntities db = new DAL.StepPointWFEntities()) { //result = Logic.Main.GetWorkflowStepsbyObjectId(pObjectId, PObjectTypeId); } return(result); }
public static DataTable GetStepsbyWorkflowId(Guid pWorkflow) { DataTable result = new DataTable(); using (DAL.StepPointWFEntities db = new DAL.StepPointWFEntities()) { DataTable StepsList = ToDataTable(db.Step_GetByWorkflowId(pWorkflow).ToList()); } return(result); }
//public static DataTable GetWorkflowStepsbyObjectId(Guid? pObjectId, Guid? PObjectTypeId) //{ // DataTable result = new DataTable(); // using (DAL.StepPointWFEntities db = new DAL.StepPointWFEntities()) // { // List<DAL.> StepsList = db.GetWFStepsbyObjectId(pObjectId, PObjectTypeId).ToList(); // result = ToDataTable(StepsList.ToList()); // } // return result; //} public static DataTable GetStepRequiredItembyObjectId(Guid pObjectId) { DataTable result = new DataTable(); using (DAL.StepPointWFEntities db = new DAL.StepPointWFEntities()) { DataTable StepsList = ToDataTable(db.TM_StepRequiredItem_GetbyObjectId(pObjectId).ToList()); } return(result); }
public DataTable GetCFInfo(Guid CFId) { DataTable result = new DataTable(); using (DAL.StepPointWFEntities db = new DAL.StepPointWFEntities()) { result = Logic.Main.GetCFInfo(CFId); } return(result); }