Esempio n. 1
0
    void MySqlAddScore(long score)
    {
        string sql = string.Format("insert into rank (deviceUniqueIdentifier,deviceName,deviceModel,submission_date,score) values ('{0}','{1}','{2}','{3}','{4}')",
                                   SystemInfo.deviceUniqueIdentifier, SystemInfo.deviceName, SystemInfo.deviceModel, System.DateTime.Now.ToString(), score);

        mySql.ExecuteQuery(sql);
    }