public static Hashtable MNGameParamsToDictionary(MNGameParams srcObject)
        {
            Hashtable result = new Hashtable(6);

              result["GameSeed"] = srcObject.GameSeed;
              result["GameSetId"] = srcObject.GameSetId;
              result["GameSetParams"] = srcObject.GameSetParams;
              result["PlayModel"] = srcObject.PlayModel;
              result["ScorePostLinkId"] = srcObject.ScorePostLinkId;

              return result;
        }
        public static MNGameParams MNGameParamsFromDictionary(IDictionary deserializedObject)
        {
            if (deserializedObject == null) {
            return null;
              }

              MNGameParams typedResult = new MNGameParams();

              typedResult.GameSeed = Convert.ToInt32(deserializedObject["GameSeed"]);
              typedResult.GameSetId = Convert.ToInt32(deserializedObject["GameSetId"]);
              typedResult.GameSetParams = (string)deserializedObject["GameSetParams"];
              typedResult.PlayModel = Convert.ToInt32(deserializedObject["PlayModel"]);
              typedResult.ScorePostLinkId = (string)deserializedObject["ScorePostLinkId"];

              return typedResult;
        }