/// <summary> /// Create a new Bug object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="bug1">Initial value of the Bug1 property.</param> public static Bug CreateBug(global::System.Int32 id, global::System.String bug1) { Bug bug = new Bug(); bug.Id = id; bug.Bug1 = bug1; return bug; }
/// <summary> /// Deprecated Method for adding a new object to the Bugs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBugs(Bug bug) { base.AddObject("Bugs", bug); }