/// <summary> /// Deprecated Method for adding a new object to the PhotoContests EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPhotoContests(PhotoContests photoContests) { base.AddObject("PhotoContests", photoContests); }
/// <summary> /// Create a new PhotoContests object. /// </summary> /// <param name="pc_id">Initial value of the pc_id property.</param> /// <param name="pc_name">Initial value of the pc_name property.</param> /// <param name="pc_description">Initial value of the pc_description property.</param> /// <param name="pc_terms">Initial value of the pc_terms property.</param> /// <param name="pc_datecreated">Initial value of the pc_datecreated property.</param> public static PhotoContests CreatePhotoContests(global::System.Int32 pc_id, global::System.String pc_name, global::System.String pc_description, global::System.String pc_terms, global::System.DateTime pc_datecreated) { PhotoContests photoContests = new PhotoContests(); photoContests.pc_id = pc_id; photoContests.pc_name = pc_name; photoContests.pc_description = pc_description; photoContests.pc_terms = pc_terms; photoContests.pc_datecreated = pc_datecreated; return photoContests; }