/// <summary>
 /// Deprecated Method for adding a new object to the UserOpinions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserOpinions(UserOpinion userOpinion)
 {
     base.AddObject("UserOpinions", userOpinion);
 }
 /// <summary>
 /// Create a new UserOpinion object.
 /// </summary>
 /// <param name="opinonId">Initial value of the OpinonId property.</param>
 /// <param name="pictureId">Initial value of the PictureId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 public static UserOpinion CreateUserOpinion(global::System.Int32 opinonId, global::System.Int32 pictureId, global::System.Int32 userId)
 {
     UserOpinion userOpinion = new UserOpinion();
     userOpinion.OpinonId = opinonId;
     userOpinion.PictureId = pictureId;
     userOpinion.UserId = userId;
     return userOpinion;
 }