Пример #1
0
        public static MySQLWork GetInstance()
        {
            if (instance == null)
            {
                instance = new MySQLWork();
            }

            return(instance);
        }
Пример #2
0
        public string SetInDatabase(bool Diagnostic)
        {
            MySQLWork wrk = MySQLWork.GetInstance();

            if (Diagnostic)
            {
                return(wrk.WriteRecord(this, Diagnostic));
            }
            else
            {
                return(wrk.WriteRecord(this, Diagnostic));
            }
        }
Пример #3
0
        public string SetInDatabase()
        {
            MySQLWork wrk = MySQLWork.GetInstance();

            return(wrk.WriteRecord(this));
        }