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