コード例 #1
0
        /*public override void appendTableFromBottom(string table_name, TeamEntity team)
         * {
         *
         *  IDbCommand dbcmd = getDbCommand();
         *
         *  //TODO Discuss Team Behavior
         *  dbcmd.CommandText =
         *     "UPDATE Team SET Value = " + team._value + " , Message = \"" + team._message + "\"  where Member = \"" + team._member + "\"";
         *
         *
         *  dbcmd.ExecuteNonQuery();
         *
         * }*/

        public override void appendTableFromBottom(string table_name, TeamEntity team)
        {
            IDbCommand dbcmd = getDbCommand();

            dbcmd.CommandText =
                "INSERT INTO " + table_name
                + " ( "
                + KEY_MEMBER + ", "
                + KEY_VALUE + ", "
                + KEY_MESSAGE + " ) "

                + "VALUES ( '"
                + team._member + "', '"
                + team._value + "', '"
                + team._message + "' )";
            dbcmd.ExecuteNonQuery();
        }
コード例 #2
0
 public virtual void appendTableFromBottom(string table_name, TeamEntity Team)
 {
     Debug.Log(CodistanTag + "This function is not implemnted");
     throw null;
 }