/// <summary>
 /// Deprecated Method for adding a new object to the UserBadges EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserBadges(UserBadge userBadge)
 {
     base.AddObject("UserBadges", userBadge);
 }
 /// <summary>
 /// Create a new UserBadge object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="badgeName">Initial value of the BadgeName property.</param>
 /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param>
 /// <param name="currentPoints">Initial value of the CurrentPoints property.</param>
 /// <param name="received">Initial value of the Received property.</param>
 /// <param name="seen">Initial value of the Seen property.</param>
 public static UserBadge CreateUserBadge(global::System.Int32 id, global::System.Int32 userId, global::System.String badgeName, global::System.DateTime dateTimeStamp, global::System.Int32 currentPoints, global::System.Boolean received, global::System.Boolean seen)
 {
     UserBadge userBadge = new UserBadge();
     userBadge.Id = id;
     userBadge.UserId = userId;
     userBadge.BadgeName = badgeName;
     userBadge.DateTimeStamp = dateTimeStamp;
     userBadge.CurrentPoints = currentPoints;
     userBadge.Received = received;
     userBadge.Seen = seen;
     return userBadge;
 }