/// <summary> /// Consumes the data /// i) Executes the Script /// ii) Insert the data to the table /// </summary> /// <param name="tableData">Data</param> /// <returns></returns> private bool ConsumeData(TableData tableData) { bool status = true; try { // Executes the Drop & Insert Script DBOperation.ExecuteNonQuery(tableData.CreateTableScript); // Inserts the data to table DBOperation.BulkInsert(tableData); } catch (Exception ex) { status = false; throw ex; } return(status); }