/// <summary> /// Create a new ErrorReport object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="profile">Initial value of the Profile property.</param> public static ErrorReport CreateErrorReport(global::System.Guid id, global::System.String profile) { ErrorReport errorReport = new ErrorReport(); errorReport.Id = id; errorReport.Profile = profile; return errorReport; }
/// <summary> /// Deprecated Method for adding a new object to the ErrorReports EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToErrorReports(ErrorReport errorReport) { base.AddObject("ErrorReports", errorReport); }