Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PhotoContestVotes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPhotoContestVotes(PhotoContestVotes photoContestVotes)
 {
     base.AddObject("PhotoContestVotes", photoContestVotes);
 }
Пример #2
0
 /// <summary>
 /// Create a new PhotoContestVotes object.
 /// </summary>
 /// <param name="u_username">Initial value of the u_username property.</param>
 /// <param name="pce_id_picked">Initial value of the pce_id_picked property.</param>
 /// <param name="pce_id_nonpicked">Initial value of the pce_id_nonpicked property.</param>
 public static PhotoContestVotes CreatePhotoContestVotes(global::System.String u_username, global::System.Int32 pce_id_picked, global::System.Int32 pce_id_nonpicked)
 {
     PhotoContestVotes photoContestVotes = new PhotoContestVotes();
     photoContestVotes.u_username = u_username;
     photoContestVotes.pce_id_picked = pce_id_picked;
     photoContestVotes.pce_id_nonpicked = pce_id_nonpicked;
     return photoContestVotes;
 }