예제 #1
0
 /// <summary>
 /// Create a new Bug object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="summary">Initial value of the Summary property.</param>
 /// <param name="detail">Initial value of the Detail property.</param>
 /// <param name="page">Initial value of the Page property.</param>
 /// <param name="dateLogged">Initial value of the DateLogged property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="bug_Tester">Initial value of the Bug_Tester property.</param>
 public static Bug CreateBug(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String summary, global::System.String detail, global::System.String page, global::System.DateTime dateLogged, global::System.String status, global::System.Int32 bug_Tester)
 {
     Bug bug = new Bug();
     bug.Id = id;
     bug.RowVersion = rowVersion;
     bug.Summary = summary;
     bug.Detail = detail;
     bug.Page = page;
     bug.DateLogged = dateLogged;
     bug.Status = status;
     bug.Bug_Tester = bug_Tester;
     return bug;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Bugs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBugs(Bug bug)
 {
     base.AddObject("Bugs", bug);
 }