/// <summary> /// Deprecated Method for adding a new object to the Tubes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTubes(Tube tube) { base.AddObject("Tubes", tube); }
/// <summary> /// Create a new Tube object. /// </summary> /// <param name="tubeId">Initial value of the TubeId property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static Tube CreateTube(global::System.Int32 tubeId, global::System.DateTime createdDate) { Tube tube = new Tube(); tube.TubeId = tubeId; tube.CreatedDate = createdDate; return tube; }