/// <summary> /// Deprecated Method for adding a new object to the PhotoContestEntries EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPhotoContestEntries(PhotoContestEntries photoContestEntries) { base.AddObject("PhotoContestEntries", photoContestEntries); }
/// <summary> /// Create a new PhotoContestEntries object. /// </summary> /// <param name="pce_id">Initial value of the pce_id property.</param> /// <param name="pc_id">Initial value of the pc_id property.</param> /// <param name="u_username">Initial value of the u_username property.</param> /// <param name="p_id">Initial value of the p_id property.</param> public static PhotoContestEntries CreatePhotoContestEntries(global::System.Int32 pce_id, global::System.Int32 pc_id, global::System.String u_username, global::System.Int32 p_id) { PhotoContestEntries photoContestEntries = new PhotoContestEntries(); photoContestEntries.pce_id = pce_id; photoContestEntries.pc_id = pc_id; photoContestEntries.u_username = u_username; photoContestEntries.p_id = p_id; return photoContestEntries; }