/// <summary> /// Create a new PhotoComplaint object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="filedByUserId">Initial value of the FiledByUserId property.</param> /// <param name="photoId">Initial value of the PhotoId property.</param> /// <param name="complaint">Initial value of the Complaint property.</param> public static PhotoComplaint CreatePhotoComplaint(global::System.Int32 id, global::System.Int32 filedByUserId, global::System.Int32 photoId, global::System.String complaint) { PhotoComplaint photoComplaint = new PhotoComplaint(); photoComplaint.Id = id; photoComplaint.FiledByUserId = filedByUserId; photoComplaint.PhotoId = photoId; photoComplaint.Complaint = complaint; return photoComplaint; }
/// <summary> /// Deprecated Method for adding a new object to the PhotoComplaints EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPhotoComplaints(PhotoComplaint photoComplaint) { base.AddObject("PhotoComplaints", photoComplaint); }