public virtual List <dtBatchProcess> GetBatchProcessDataList(string pC_CONFIG_SUSPEND_FLAG, string pC_BATCH_STATUS, string pC_BATCH_LAST_RESULT, string pC_BATCH_STATUS_PROCESSING, Nullable <bool> pC_FLAG_ON, Nullable <bool> pC_FLAG_OFF) { CMDataEntities context = new CMDataEntities(); return(context.GetBatchProcessDataList(pC_CONFIG_SUSPEND_FLAG, pC_BATCH_STATUS, pC_BATCH_LAST_RESULT, pC_BATCH_STATUS_PROCESSING, pC_FLAG_ON, pC_FLAG_OFF).ToList()); }