///<summary>
        /// Method Invocation of wrapper classes
        ///<summary>
        protected static FR_L6US_GMMDMDfAU_1401 Invoke(DbConnection Connection, DbTransaction Transaction, string ConnectionString, CSV2Core.SessionSecurity.SessionSecurityTicket securityTicket = null)
        {
            bool cleanupConnection  = Connection == null;
            bool cleanupTransaction = Transaction == null;

            FR_L6US_GMMDMDfAU_1401 functionReturn = new FR_L6US_GMMDMDfAU_1401();

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

                functionReturn = Execute(Connection, Transaction, 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_ManagerModuleDashboardMenuData_for_ActiveUser", ex);
            }
            return(functionReturn);
        }
        protected static FR_L6US_GMMDMDfAU_1401 Execute(DbConnection Connection, DbTransaction Transaction, CSV2Core.SessionSecurity.SessionSecurityTicket securityTicket = null)
        {
            //Leave UserCode region to enable user code saving
            #region UserCode
            var returnValue = new FR_L6US_GMMDMDfAU_1401();
            //Put your code here
            returnValue.Result = new L6US_GMMDMDfAU_1401();

            ORM_TMS_PRO_Project.Query projectQuery = new ORM_TMS_PRO_Project.Query();
            projectQuery.IsArchived = false;
            projectQuery.IsDeleted  = false;

            int ProjectsCount = ORM_TMS_PRO_Project.Query.Search(Connection, Transaction, projectQuery).Count;

            if (ProjectsCount != null)
            {
                returnValue.Result.Projects_Count = ProjectsCount;
            }

            // NO DATABASE TABLE
            returnValue.Result.Boards_Count = 11;

            ORM_TMS_PRO_Feature.Query featureQuery = new ORM_TMS_PRO_Feature.Query();
            featureQuery.IsArchived = false;
            featureQuery.IsDeleted  = false;

            int FeaturesCount = ORM_TMS_PRO_Feature.Query.Search(Connection, Transaction, featureQuery).Count;

            if (FeaturesCount != null)
            {
                returnValue.Result.Features_Count = FeaturesCount;
            }

            ORM_TMS_PRO_Feature_2_DeveloperTask.Query developer_tasks_Query = new ORM_TMS_PRO_Feature_2_DeveloperTask.Query();
            developer_tasks_Query.IsDeleted = false;

            int DeveloperTasksCount = ORM_TMS_PRO_Feature_2_DeveloperTask.Query.Search(Connection, Transaction, developer_tasks_Query).Count;

            if (DeveloperTasksCount != null)
            {
                returnValue.Result.DeveloperTasks_Count = DeveloperTasksCount;
            }


            returnValue.Result.TimeReportedToday = 606;


            return(returnValue);

            #endregion UserCode
        }