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