/// <summary> /// Create a new CreditReport object. /// </summary> /// <param name="reportId">Initial value of the ReportId property.</param> /// <param name="creditRating">Initial value of the CreditRating property.</param> /// <param name="customerId">Initial value of the CustomerId property.</param> public static CreditReport CreateCreditReport(global::System.Int32 reportId, global::System.Int32 creditRating, global::System.Int32 customerId) { CreditReport creditReport = new CreditReport(); creditReport.ReportId = reportId; creditReport.CreditRating = creditRating; creditReport.CustomerId = customerId; return(creditReport); }
/// <summary> /// Deprecated Method for adding a new object to the CreditReports EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCreditReports(CreditReport creditReport) { base.AddObject("CreditReports", creditReport); }