/// <summary> /// Deprecated Method for adding a new object to the Spares EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSpares(Spare spare) { base.AddObject("Spares", spare); }
/// <summary> /// Create a new Spare object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static Spare CreateSpare(global::System.Int32 id) { Spare spare = new Spare(); spare.ID = id; return spare; }