public static Hashtable MNWSAnyUserItemToDictionary(MNWSAnyUserItem srcObject)
        {
            Hashtable result = new Hashtable(7);

              result["MyFriendLinkStatus"] = srcObject.MyFriendLinkStatus;
              result["UserAvatarExists"] = srcObject.UserAvatarExists;
              result["UserAvatarUrl"] = srcObject.UserAvatarUrl;
              result["UserGamePoints"] = srcObject.UserGamePoints;
              result["UserId"] = srcObject.UserId;
              result["UserNickName"] = srcObject.UserNickName;
              result["UserOnlineNow"] = srcObject.UserOnlineNow;

              return result;
        }
        public static MNWSAnyUserItem MNWSAnyUserItemFromDictionary(IDictionary deserializedObject)
        {
            if (deserializedObject == null) {
            return null;
              }

              MNWSAnyUserItem typedResult = new MNWSAnyUserItem();

              typedResult.MyFriendLinkStatus = ((deserializedObject["MyFriendLinkStatus"] == null) ? null : (int?)Convert.ToInt32(deserializedObject["MyFriendLinkStatus"]));
              typedResult.UserAvatarExists = ((deserializedObject["UserAvatarExists"] == null) ? null : (bool?)Convert.ToBoolean(deserializedObject["UserAvatarExists"]));
              typedResult.UserAvatarUrl = (string)deserializedObject["UserAvatarUrl"];
              typedResult.UserGamePoints = ((deserializedObject["UserGamePoints"] == null) ? null : (long?)Convert.ToInt64(deserializedObject["UserGamePoints"]));
              typedResult.UserId = ((deserializedObject["UserId"] == null) ? null : (long?)Convert.ToInt64(deserializedObject["UserId"]));
              typedResult.UserNickName = (string)deserializedObject["UserNickName"];
              typedResult.UserOnlineNow = ((deserializedObject["UserOnlineNow"] == null) ? null : (bool?)Convert.ToBoolean(deserializedObject["UserOnlineNow"]));

              return typedResult;
        }