/// <summary> /// Create a new ProfileComplaint object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="filedByUserId">Initial value of the FiledByUserId property.</param> /// <param name="towardUserId">Initial value of the TowardUserId property.</param> /// <param name="complaint">Initial value of the Complaint property.</param> public static ProfileComplaint CreateProfileComplaint(global::System.Int32 id, global::System.Int32 filedByUserId, global::System.Int32 towardUserId, global::System.String complaint) { ProfileComplaint profileComplaint = new ProfileComplaint(); profileComplaint.Id = id; profileComplaint.FiledByUserId = filedByUserId; profileComplaint.TowardUserId = towardUserId; profileComplaint.Complaint = complaint; return profileComplaint; }
/// <summary> /// Deprecated Method for adding a new object to the ProfileComplaints EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProfileComplaints(ProfileComplaint profileComplaint) { base.AddObject("ProfileComplaints", profileComplaint); }