protected static FR_L6DT_GDMTTDfTL_1449_Array Execute(DbConnection Connection, DbTransaction Transaction, P_L6DT_GDMTTDfTL_1449 Parameter, CSV2Core.SessionSecurity.SessionSecurityTicket securityTicket = null)
        {
            var returnStatus = new FR_L6DT_GDMTTDfTL_1449_Array();

            DbCommand command = Connection.CreateCommand();

            command.Connection  = Connection;
            command.Transaction = Transaction;
            var commandLocation = "CL6_DanuTask_DeveloperTask.Atomic.Retrieval.SQL.cls_Get_DeveloperModule_TasksTableData_for_TaskID_List.sql";

            command.CommandText = new System.IO.StreamReader(System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream(commandLocation)).ReadToEnd();
            CSV2Core_MySQL.Support.DBSQLSupport.SetParameter(command, "ticket", securityTicket);
            command.CommandTimeout = QueryTimeout;

            command.CommandText = System.Text.RegularExpressions.Regex.Replace(command.CommandText, "=[ \t]*@TaskIDList", " IN $$TaskIDList$$");
            CSV2Core_MySQL.Support.DBSQLSupport.AppendINStatement(command, "$TaskIDList$", Parameter.TaskIDList);


            List <L6DT_GDMTTDfTL_1449> results = new List <L6DT_GDMTTDfTL_1449>();
            var loader = new CSV2Core_MySQL.Dictionaries.MultiTable.Loader.DictionaryLoader(Connection, Transaction);
            var reader = new CSV2Core_MySQL.Support.DBSQLReader(command.ExecuteReader());

            try
            {
                reader.SetOrdinals(new string[] { "Task_ID", "Task_Identification", "Task_Name", "Task_Involvement", "Name_DictID", "Task_Deadline", "Task_PercentageComplete", "Task_PriorityColor", "Task_CompletionStamp", "Task_CreationStamp", "FirstName", "LastName", "Task_Description", "IsComplete", "IsIncompleteInformation", "IsArchived", "IsActive" });
                while (reader.Read())
                {
                    L6DT_GDMTTDfTL_1449 resultItem = new L6DT_GDMTTDfTL_1449();
                    //0:Parameter Task_ID of type Guid
                    resultItem.Task_ID = reader.GetGuid(0);
                    //1:Parameter Task_Identification of type String
                    resultItem.Task_Identification = reader.GetString(1);
                    //2:Parameter Task_Name of type String
                    resultItem.Task_Name = reader.GetString(2);
                    //3:Parameter Task_Involvement of type Guid
                    resultItem.Task_Involvement = reader.GetGuid(3);
                    //4:Parameter Name_DictID of type Dict
                    resultItem.Name_DictID             = reader.GetDictionary(4);
                    resultItem.Name_DictID.SourceTable = "tms_pro_projects";
                    loader.Append(resultItem.Name_DictID);
                    //5:Parameter Task_Deadline of type DateTime
                    resultItem.Task_Deadline = reader.GetDate(5);
                    //6:Parameter Task_PercentageComplete of type Double
                    resultItem.Task_PercentageComplete = reader.GetDouble(6);
                    //7:Parameter Task_PriorityColor of type String
                    resultItem.Task_PriorityColor = reader.GetString(7);
                    //8:Parameter Task_CompletionStamp of type DateTime
                    resultItem.Task_CompletionStamp = reader.GetDate(8);
                    //9:Parameter Task_CreationStamp of type DateTime
                    resultItem.Task_CreationStamp = reader.GetDate(9);
                    //10:Parameter FirstName of type String
                    resultItem.FirstName = reader.GetString(10);
                    //11:Parameter LastName of type String
                    resultItem.LastName = reader.GetString(11);
                    //12:Parameter Task_Description of type String
                    resultItem.Task_Description = reader.GetString(12);
                    //13:Parameter IsComplete of type bool
                    resultItem.IsComplete = reader.GetBoolean(13);
                    //14:Parameter IsIncompleteInformation of type bool
                    resultItem.IsIncompleteInformation = reader.GetBoolean(14);
                    //15:Parameter IsArchived of type bool
                    resultItem.IsArchived = reader.GetBoolean(15);
                    //16:Parameter IsActive of type bool
                    resultItem.IsActive = reader.GetBoolean(16);

                    results.Add(resultItem);
                }
            }
            catch (Exception ex)
            {
                reader.Close();
                throw new Exception("Exception occured durng data retrieval in method cls_Get_DeveloperModule_TasksTableData_for_TaskID_List", ex);
            }
            reader.Close();
            //Load all the dictionaries from the datatables
            loader.Load();

            returnStatus.Result = results.ToArray();
            return(returnStatus);
        }
 ///<summary>
 /// Invokes the method for the given Connection, and Transaction, leaving them open/not commited if no exceptions occured
 ///<summary>
 public static FR_L6DT_GDMTTDfTL_1449_Array Invoke(DbConnection Connection, DbTransaction Transaction, P_L6DT_GDMTTDfTL_1449 Parameter, CSV2Core.SessionSecurity.SessionSecurityTicket securityTicket = null)
 {
     return(Invoke(Connection, Transaction, null, Parameter, securityTicket));
 }
        ///<summary>
        /// Method Invocation of wrapper classes
        ///<summary>
        protected static FR_L6DT_GDMTTDfTL_1449_Array Invoke(DbConnection Connection, DbTransaction Transaction, string ConnectionString, P_L6DT_GDMTTDfTL_1449 Parameter, CSV2Core.SessionSecurity.SessionSecurityTicket securityTicket = null)
        {
            bool cleanupConnection  = Connection == null;
            bool cleanupTransaction = Transaction == null;

            FR_L6DT_GDMTTDfTL_1449_Array functionReturn = new FR_L6DT_GDMTTDfTL_1449_Array();

            try
            {
                if (cleanupConnection == true)
                {
                    Connection = CSV2Core_MySQL.Support.DBSQLSupport.CreateConnection(ConnectionString);
                    Connection.Open();
                }
                if (cleanupTransaction == true)
                {
                    Transaction = Connection.BeginTransaction();
                }

                functionReturn = Execute(Connection, Transaction, Parameter, securityTicket);

                #region Cleanup Connection/Transaction
                //Commit the transaction
                if (cleanupTransaction == true)
                {
                    Transaction.Commit();
                }
                //Close the connection
                if (cleanupConnection == true)
                {
                    Connection.Close();
                }
                #endregion
            }
            catch (Exception ex)
            {
                try
                {
                    if (cleanupTransaction == true && Transaction != null)
                    {
                        Transaction.Rollback();
                    }
                }
                catch { }

                try
                {
                    if (cleanupConnection == true && Connection != null)
                    {
                        Connection.Close();
                    }
                }
                catch { }

                throw new Exception("Exception occured in method cls_Get_DeveloperModule_TasksTableData_for_TaskID_List", ex);
            }
            return(functionReturn);
        }
 ///<summary>
 /// Opens the connection/transaction for the given connectionString, and closes them when complete
 ///<summary>
 public static FR_L6DT_GDMTTDfTL_1449_Array Invoke(string ConnectionString, P_L6DT_GDMTTDfTL_1449 Parameter, CSV2Core.SessionSecurity.SessionSecurityTicket securityTicket = null)
 {
     return(Invoke(null, null, ConnectionString, Parameter, securityTicket));
 }